From b936a6d9f9b66798a18adfc9415c31530fafd72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Wed, 14 Dec 2016 09:22:18 -0200 Subject: [PATCH] =?UTF-8?q?Lista=20materia=20ordem=20alfab=C3=A9tica?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/materia/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/materia/models.py b/sapl/materia/models.py index 48604629c..e9cfcf452 100644 --- a/sapl/materia/models.py +++ b/sapl/materia/models.py @@ -83,6 +83,7 @@ class TipoMateriaLegislativa(models.Model): class Meta: verbose_name = _('Tipo de Matéria Legislativa') verbose_name_plural = _('Tipos de Matérias Legislativas') + ordering = ['descricao'] def __str__(self): return self.descricao