summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tbc/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index bc35c18..bf36eb4 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -80,7 +80,7 @@ def Home(request):
context['update_book'] = True
if 'not_found' in request.GET:
context['not_found'] = True
- books = Book.objects.filter(approved=True)[0:6]
+ books = Book.objects.filter(approved=True).order_by("-id")[0:6]
for book in books:
images.append(ScreenShots.objects.filter(book=book)[0])
context['images'] = images