From 50d1afc7c8779a6f118b19b5739cdc9863bd6b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Mon, 29 Mar 2021 18:18:35 -0300 Subject: [PATCH] Permitir municipio em branco no contato --- sigi/apps/casas/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigi/apps/casas/models.py b/sigi/apps/casas/models.py index 9b16b4c..ab51ae4 100644 --- a/sigi/apps/casas/models.py +++ b/sigi/apps/casas/models.py @@ -365,7 +365,8 @@ class Funcionario(models.Model): municipio = models.ForeignKey( Municipio, verbose_name=_(u'Municipio'), - null=True + null=True, + blank=True, ) bairro = models.CharField(_(u'Bairro'), max_length=100, blank=True) cep = models.CharField(_(u'CEP'), max_length=10, blank=True)