summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12014-03-15 18:05:58 +0530
committerhardythe12014-03-15 18:05:58 +0530
commit940f5cfc64bd127b93df432b8760897d9786f0f4 (patch)
tree1629fcfe71df748f17c69201bbcb361740f8361b
parente1e7ff0ebfc5cb8dfe8fb69aad4fe481bb7b3ec7 (diff)
downloadPython-TBC-Interface-940f5cfc64bd127b93df432b8760897d9786f0f4.tar.gz
Python-TBC-Interface-940f5cfc64bd127b93df432b8760897d9786f0f4.tar.bz2
Python-TBC-Interface-940f5cfc64bd127b93df432b8760897d9786f0f4.zip
solving issue with browsing books
-rw-r--r--tbc/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 2d2710c..8fde0a8 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -496,7 +496,6 @@ def BrowseBooks(request):
books = Book.objects.filter(approved=True)
else:
books = Book.objects.filter(category=category)
- return HttpResponse(books)
else:
books = Book.objects.filter(approved=True)
for book in books: