Browse Source

Adicionado unique_together em casa.CasaLegislativa.

0.2
Guilherme Gondim 15 years ago
parent
commit
b9ac249071
  1. 1
      sigi/apps/casas/models.py

1
sigi/apps/casas/models.py

@ -56,6 +56,7 @@ class CasaLegislativa(models.Model):
class Meta:
ordering = ('nome',)
unique_together = ('municipio', 'tipo')
verbose_name = 'Casa Legislativa'
verbose_name_plural = 'Casas Legislativas'

Loading…
Cancel
Save