order editions in reverse chronological order

pull/1/head
Ed Summers 2011-12-12 21:44:35 -05:00
parent 0cfb08ad18
commit d08e939cc3
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def stub(request):
def work(request, work_id, action='display'):
work = get_object_or_404(models.Work, id=work_id)
editions = work.editions.all()
editions = work.editions.all().order_by('-publication_date')
campaign = work.last_campaign()
server = randint(0,9)