mirror of https://github.com/interlegis/sapl.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							730 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							27 lines
						
					
					
						
							730 B
						
					
					
				| from django.utils.translation import ugettext_lazy as _ | |
| 
 | |
| from crud import build_crud | |
| 
 | |
| from .models import LexmlProvedor, LexmlPublicador | |
| 
 | |
| lexml_provedor_crud = build_crud( | |
|     LexmlProvedor, 'lexml_provedor', [ | |
| 
 | |
|         [_('Provedor Lexml'), | |
|          [('id_provedor', 2), | |
|             ('nome', 10)], | |
|             [('id_responsavel', 2), ('nome_responsavel', 5), | |
|              ('email_responsavel', 5)], | |
|             [('xml', 12)]], | |
| 
 | |
|     ]) | |
| 
 | |
| lexml_publicador_crud = build_crud( | |
|     LexmlPublicador, 'lexml_publicador', [ | |
| 
 | |
|         [_('Publicador Lexml'), | |
|          [('id_publicador', 2), | |
|             ('nome', 5), ('sigla', 5)], | |
|             [('id_responsavel', 2), ('nome_responsavel', 5), | |
|              ('email_responsavel', 5)]], | |
|     ])
 | |
| 
 |