# HG changeset patch # User Bob Mourlam # Date 1320112502 18000 # Node ID 687af3cb05250b14d13bdbc1041c87986e3b08c0 # Parent abe08d74dab3d7b0f0558da6b699e5868bc295de I change the news model to have reverse chronological ordering. I removed a rogue tab from the news_list.html template. diff -r abe08d74dab3 -r 687af3cb0525 bns_website/news/models.py --- a/bns_website/news/models.py Mon Oct 31 20:38:43 2011 -0500 +++ b/bns_website/news/models.py Mon Oct 31 20:55:02 2011 -0500 @@ -16,6 +16,7 @@ class Meta: verbose_name_plural="News" + ordering = ['-date'] def __unicode__(self): return self.title diff -r abe08d74dab3 -r 687af3cb0525 bns_website/templates/news/news_list.html --- a/bns_website/templates/news/news_list.html Mon Oct 31 20:38:43 2011 -0500 +++ b/bns_website/templates/news/news_list.html Mon Oct 31 20:55:02 2011 -0500 @@ -26,6 +26,4 @@ {% endfor %} - - {% endblock %}