ProgressUpdate doesn't need its own date field

Just use the base model's created_date
This commit is contained in:
Joel Bradshaw
2020-11-25 22:56:41 -08:00
parent 090cf2aea7
commit 64fb88cc10
4 changed files with 2 additions and 4 deletions

View File

@@ -564,7 +564,7 @@ def book_page(request, book_id):
for readthrough in readthroughs:
readthrough.progress_updates = \
readthrough.progressupdate_set.all().order_by('date')
readthrough.progressupdate_set.all().order_by('updated_date')
rating = reviews.aggregate(Avg('rating'))
tags = models.Tag.objects.filter(