From 96c7a1e472581d22c90961a3effc74262b4b1a81 Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Tue, 25 Nov 2008 21:27:30 +0000 Subject: [PATCH] Modificado admin de casas. --- sigi/apps/casas/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigi/apps/casas/admin.py b/sigi/apps/casas/admin.py index a236d2a..7582782 100644 --- a/sigi/apps/casas/admin.py +++ b/sigi/apps/casas/admin.py @@ -28,12 +28,13 @@ class CasaLegislativaAdmin(admin.ModelAdmin): 'fields': ('logradouro', 'bairro', 'municipio', 'cep'), }), ('Outras informações', { + 'classes': ('collapse',), 'fields': ('email', 'pagina_web', 'foto', 'historico'), }), ) raw_id_fields = ('municipio',) search_fields = ('nome', 'sigla', 'cnpj', 'logradouro', 'bairro', 'cep', 'municipio__nome', 'municipio__uf__nome', - 'pagina_web') + 'municipio__codigo_ibge', 'pagina_web') admin.site.register(CasaLegislativa, CasaLegislativaAdmin)