From 86915d1e666b7c6b54616adcb710b30a5d547d5d Mon Sep 17 00:00:00 2001 From: Breno Teixeira Date: Fri, 1 Nov 2013 09:17:32 -0200 Subject: [PATCH] =?UTF-8?q?Migra=C3=A7=C3=A3o=20da=20app=20'diagnosticos'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/diagnosticos/admin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sigi/apps/diagnosticos/admin.py b/sigi/apps/diagnosticos/admin.py index 034f3a1..1712396 100644 --- a/sigi/apps/diagnosticos/admin.py +++ b/sigi/apps/diagnosticos/admin.py @@ -53,11 +53,10 @@ class DiagnosticoAdmin(BaseEntityAdmin): raw_id_fields = ('casa_legislativa',) ordering = ('casa_legislativa',) - eav_fieldsets = [ + eav_fieldsets = ( (u'00. Identificação do Diagnóstico', {'fields': ('responsavel', 'data_visita_inicio', 'data_visita_fim',)}), (u'01. Identificação da Casa Legislativa', {'fields': ('casa_legislativa',)}), - (u'02. Identificação de Competências da Casa Legislativa', {'fields': ()}) - ] + (u'02. Identificação de Competências da Casa Legislativa', {'fields': ()})) # popula o eav fieldsets ordenando as categorias e as perguntas # para serem exibidas no admin