Browse Source

HOT-FIX 2: campos CharField não podem ser null (facepalm)

pull/1336/head
Edward Ribeiro 8 years ago
parent
commit
87d8a7102d
  1. 1
      sapl/base/models.py

1
sapl/base/models.py

@ -20,7 +20,6 @@ class CasaLegislativa(models.Model):
codigo = models.CharField(max_length=100, codigo = models.CharField(max_length=100,
blank=True, blank=True,
null=True,
verbose_name=_('Codigo')) verbose_name=_('Codigo'))
nome = models.CharField(max_length=100, verbose_name=_('Nome')) nome = models.CharField(max_length=100, verbose_name=_('Nome'))
sigla = models.CharField(max_length=100, verbose_name=_('Sigla')) sigla = models.CharField(max_length=100, verbose_name=_('Sigla'))

Loading…
Cancel
Save