From db11119bf02e04e9669759e2a08768de45f24d8b Mon Sep 17 00:00:00 2001 From: "Camilo Carlos (Estagiario)" Date: Mon, 18 Oct 2010 18:09:15 +0000 Subject: [PATCH] =?UTF-8?q?Alterando=20para=20n=C3=A3o=20remover=20munic?= =?UTF-8?q?=C3=ADpios=20e=20unidades=20federativas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/contatos/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sigi/apps/contatos/admin.py b/sigi/apps/contatos/admin.py index 4f82ce8..3dd46e7 100644 --- a/sigi/apps/contatos/admin.py +++ b/sigi/apps/contatos/admin.py @@ -4,12 +4,14 @@ from sigi.apps.contatos.models import (UnidadeFederativa, Municipio, Telefone, Contato) class UnidadeFederativaAdmin(admin.ModelAdmin): + actions = None list_display = ('codigo_ibge', 'nome', 'sigla', 'regiao', 'populacao') list_display_links = ('codigo_ibge', 'nome') list_filter = ('regiao', 'populacao') search_fields = ('codigo_ibge', 'nome', 'sigla', 'regiao') class MunicipioAdmin(admin.ModelAdmin): + actions = None list_display = ('codigo_ibge', 'codigo_tse', 'nome', 'uf', 'is_capital', 'populacao', 'is_polo') list_display_links = ('codigo_ibge', 'codigo_tse', 'nome') list_filter = ('is_capital', 'is_polo', 'populacao', 'uf')