Use absolute id model property
This commit is contained in:
parent
4eeb842350
commit
71027a1459
5 changed files with 27 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue