Changed Ordering

parent 379f9e4c
......@@ -13,7 +13,7 @@ class ForumPost(models.Model):
pub_datetime = models.DateTimeField()
class Meta:
ordering = ['pub_datetime']
ordering = ['-pub_datetime']
def __str__(self):
return '{}'.format(self.title)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment