diff --git a/sigi/apps/casas/models.py b/sigi/apps/casas/models.py index d27aed3..6f016a1 100644 --- a/sigi/apps/casas/models.py +++ b/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'