order by date
This commit is contained in:
parent
09dda827f5
commit
b2d1c67b02
|
@ -13,6 +13,8 @@ class PadmaText(models.Model):
|
||||||
show_users = models.CharField(max_length=512, blank=True, help_text="Comma separated usernames")
|
show_users = models.CharField(max_length=512, blank=True, help_text="Comma separated usernames")
|
||||||
show_layers = models.CharField(max_length=256, blank=True, help_text="Comma separated - for eg. transcript, description")
|
show_layers = models.CharField(max_length=256, blank=True, help_text="Comma separated - for eg. transcript, description")
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ['-date']
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return self.title
|
return self.title
|
||||||
|
|
Loading…
Reference in New Issue
Block a user