Projet

Général

Profil

0001-misc-add-default-ordering-for-categories-41628.patch

Frédéric Péters, 12 avril 2020 14:31

Télécharger (757 octets)

Voir les différences:

Subject: [PATCH] misc: add default ordering for categories (#41628)

 corbo/models.py | 3 +++
 1 file changed, 3 insertions(+)
corbo/models.py
31 31
                help_text=_('if defined, announces will be automatically created from rss items'))
32 32
    ctime = models.DateTimeField(auto_now_add=True)
33 33

  
34
    class Meta:
35
        ordering = ['name']
36

  
34 37
    def __unicode__(self):
35 38
        return self.name
36 39

  
37
-