summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12014-02-19 19:24:29 +0530
committerhardythe12014-02-19 19:24:29 +0530
commit7043fbe35f07188a1e326d9e552c04942652d6be (patch)
tree02cbe506665095d5e8006f29934f94fdc92c53af
parent31505b7cdd10ff5a38205b1a40704c95ed00b481 (diff)
downloadPython-TBC-Interface-7043fbe35f07188a1e326d9e552c04942652d6be.tar.gz
Python-TBC-Interface-7043fbe35f07188a1e326d9e552c04942652d6be.tar.bz2
Python-TBC-Interface-7043fbe35f07188a1e326d9e552c04942652d6be.zip
resolving conflict
-rw-r--r--tbc/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index bf36eb4..e3b31f3 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).order_by("-id")[0:6]
+ books = Book.objects.filter(approved=True)
for book in books:
images.append(ScreenShots.objects.filter(book=book)[0])
context['images'] = images