From 8066e49a0d0e36c7ddf12ca1dbd2d1c2df1f4e92 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 12 Jun 2019 16:44:51 -0300 Subject: [PATCH] Ordena partido por sigla --- sapl/parlamentares/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/parlamentares/models.py b/sapl/parlamentares/models.py index d50600eba..9f4cc4138 100644 --- a/sapl/parlamentares/models.py +++ b/sapl/parlamentares/models.py @@ -122,6 +122,7 @@ class Partido(models.Model): class Meta: verbose_name = _('Partido') verbose_name_plural = _('Partidos') + ordering = ['sigla', 'nome'] def __str__(self): return _('%(sigla)s - %(nome)s') % {