order thinks on the front page by time of last edit
instead of time of creation
This commit is contained in:
parent
dcdb3d87be
commit
94643dc2c7
5 changed files with 37 additions and 4 deletions
|
@ -13,6 +13,7 @@ class Think(models.Model):
|
|||
slug = models.SlugField()
|
||||
category = models.CharField(max_length=100, blank=True, null=True)
|
||||
creation_time = models.DateTimeField(auto_now_add=True)
|
||||
last_edited = models.DateTimeField(blank=True, null=True)
|
||||
|
||||
is_template = models.BooleanField(default=False)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue