0001-misc-add-default-ordering-for-categories-41628.patch
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 |
- |