Use absolute id model property

This commit is contained in:
Mouse Reeve
2020-02-16 19:17:11 -08:00
parent 4eeb842350
commit 71027a1459
5 changed files with 27 additions and 19 deletions

View File

@ -29,7 +29,7 @@ def home(request):
# books new to the instance, for discovery
recent_books = models.Book.objects.order_by(
'-added_date'
'-created_date'
)[:5]
# status updates for your follow network