From 0e92a66abfa2a8b249a6ba1cce315745f35223cc 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 e897129d5..84dc06d06 100644 --- a/sapl/parlamentares/models.py +++ b/sapl/parlamentares/models.py @@ -136,6 +136,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') % {