diff options
author | hardythe1 | 2014-02-19 19:24:29 +0530 |
---|---|---|
committer | hardythe1 | 2014-02-19 19:24:29 +0530 |
commit | 7043fbe35f07188a1e326d9e552c04942652d6be (patch) | |
tree | 02cbe506665095d5e8006f29934f94fdc92c53af | |
parent | 31505b7cdd10ff5a38205b1a40704c95ed00b481 (diff) | |
download | Python-TBC-Interface-7043fbe35f07188a1e326d9e552c04942652d6be.tar.gz Python-TBC-Interface-7043fbe35f07188a1e326d9e552c04942652d6be.tar.bz2 Python-TBC-Interface-7043fbe35f07188a1e326d9e552c04942652d6be.zip |
resolving conflict
-rw-r--r-- | tbc/views.py | 2 |
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 |