From f8481586804628f62999c4772aeb68f5a80f83e1 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 8 Jan 2015 20:10:56 -0200 Subject: [PATCH] Correct typo --- sigi/apps/mesas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/mesas/models.py b/sigi/apps/mesas/models.py index ad74700..1143e1d 100644 --- a/sigi/apps/mesas/models.py +++ b/sigi/apps/mesas/models.py @@ -16,7 +16,7 @@ class Legislatura(models.Model): casa_legislativa.convenio_uf_filter = True casa_legislativa.convenio_cl_tipo_filter = True - def meta(self): + class Meta: unique_together = (('casa_legislativa', 'numero')) ordering = ['casa_legislativa__municipio__uf__sigla', '-data_inicio']