Order Publications
by date by default
This commit is contained in:
parent
a5e73d284b
commit
4426a52505
1 changed files with 3 additions and 0 deletions
|
@ -25,3 +25,6 @@ class Publication(models.Model):
|
|||
if self.custom_name:
|
||||
return self.custom_name
|
||||
return 'BOcal n°{}'.format(self.num)
|
||||
|
||||
class Meta:
|
||||
ordering = ['date']
|
||||
|
|
Loading…
Reference in a new issue