From 45dd89939918b22a5626e41c9eb21d5c634f9769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Wed, 14 Dec 2016 10:34:07 -0200 Subject: [PATCH] =?UTF-8?q?ordena=20list=20tipo=20doc=20adm=20ordem=20alfa?= =?UTF-8?q?b=C3=A9tica?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/protocoloadm/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/protocoloadm/models.py b/sapl/protocoloadm/models.py index d472155ed..f3d0a56c2 100644 --- a/sapl/protocoloadm/models.py +++ b/sapl/protocoloadm/models.py @@ -14,6 +14,7 @@ class TipoDocumentoAdministrativo(models.Model): class Meta: verbose_name = _('Tipo de Documento Administrativo') verbose_name_plural = _('Tipos de Documento Administrativo') + ordering = ['descricao'] def __str__(self): return self.descricao