From 30e3cf7cb6a9715a9d851f6538cb4c8a1e6c4421 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Caissy Date: Wed, 8 Feb 2012 14:42:53 -0600 Subject: [PATCH] Poste: trie par defaut par le nom --- project/rh/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/rh/models.py b/project/rh/models.py index ef3b6fc..234ef57 100644 --- a/project/rh/models.py +++ b/project/rh/models.py @@ -189,6 +189,7 @@ class Poste_(AUFMetadata): ordering = ['implantation__nom', 'nom'] verbose_name = u"Poste" verbose_name_plural = u"Postes" + ordering = ["nom"] def __unicode__(self): representation = u'%s - %s [%s]' % (self.implantation, self.nom, -- 1.7.10.4