From a6ae05907135bcb296c8b9a4d6a432f334feb703 Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Fri, 12 Mar 2010 13:06:06 +0000 Subject: [PATCH] =?UTF-8?q?Retirado=20verifica=C3=A7=C3=A3o=20de=20URL=20d?= =?UTF-8?q?os=20URLField.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/casas/models.py | 3 ++- sigi/apps/inventario/models.py | 2 +- sigi/apps/parlamentares/models.py | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sigi/apps/casas/models.py b/sigi/apps/casas/models.py index 338190c..bd84bd7 100644 --- a/sigi/apps/casas/models.py +++ b/sigi/apps/casas/models.py @@ -40,7 +40,8 @@ class CasaLegislativa(models.Model): pagina_web = models.URLField( u'página web', help_text='Exemplo: http://www.camarapains.mg.gov.br.', - blank=True + blank=True, + verify_exists=False ) telefones = generic.GenericRelation('contatos.Telefone') diff --git a/sigi/apps/inventario/models.py b/sigi/apps/inventario/models.py index 2cde2eb..885d509 100644 --- a/sigi/apps/inventario/models.py +++ b/sigi/apps/inventario/models.py @@ -6,7 +6,7 @@ class Fornecedor(models.Model): nome = models.CharField(max_length=40) nome.alphabetic_filter = True email = models.EmailField('e-mail', blank=True) - pagina_web = models.URLField('página web', blank=True) + pagina_web = models.URLField('página web', blank=True, verify_exists=False) telefones = generic.GenericRelation('contatos.Telefone') contatos = generic.GenericRelation('contatos.Contato') diff --git a/sigi/apps/parlamentares/models.py b/sigi/apps/parlamentares/models.py index cfc40fb..53eae15 100644 --- a/sigi/apps/parlamentares/models.py +++ b/sigi/apps/parlamentares/models.py @@ -47,7 +47,10 @@ class Parlamentar(models.Model): help_text="Formato: XXXXX-XXX." ) telefones = generic.GenericRelation('contatos.Telefone') - pagina_web = models.URLField(u'página web', blank=True) + pagina_web = models.URLField( + u'página web', blank=True, + verify_exists=False + ) email = models.EmailField('e-mail', blank=True) class Meta: