From e20d22d693d7f87dc5e55f89549b7ca5ae4249ec Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Thu, 17 Dec 2009 20:34:17 +0000 Subject: [PATCH] --- sigi/apps/mesas/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sigi/apps/mesas/models.py b/sigi/apps/mesas/models.py index 7ebcc02..efe0e1d 100644 --- a/sigi/apps/mesas/models.py +++ b/sigi/apps/mesas/models.py @@ -104,6 +104,7 @@ class MembroMesaDiretora(models.Model): class Meta: ordering = ('parlamentar',) + unique_together = ('cargo', 'mesa_diretora') verbose_name = 'membro de Mesa Diretora' verbose_name_plural = 'membros de Mesas Diretora'