From 8c571675992912e27d1f80b6b90501dbc2e56725 Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Thu, 8 Jan 2009 19:02:19 +0000 Subject: [PATCH] =?UTF-8?q?Novo=20filtro=20para=20visualiza=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20legislaturas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/mesas/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sigi/apps/mesas/admin.py b/sigi/apps/mesas/admin.py index 43a4d29..2b0f413 100644 --- a/sigi/apps/mesas/admin.py +++ b/sigi/apps/mesas/admin.py @@ -8,6 +8,7 @@ class LegislaturaAdmin(admin.ModelAdmin): date_hierarchy = 'data_inicio' list_display = ('numero', 'data_inicio', 'data_fim', 'data_eleicao') list_display_links = ('numero',) + list_filter = ('data_eleicao',) search_fields = ('numero',) class ColigacaoAdmin(admin.ModelAdmin):