diff options
author | hardythe1 | 2014-03-15 18:05:58 +0530 |
---|---|---|
committer | hardythe1 | 2014-03-15 18:05:58 +0530 |
commit | 940f5cfc64bd127b93df432b8760897d9786f0f4 (patch) | |
tree | 1629fcfe71df748f17c69201bbcb361740f8361b /tbc/views.py | |
parent | e1e7ff0ebfc5cb8dfe8fb69aad4fe481bb7b3ec7 (diff) | |
download | Python-TBC-Interface-940f5cfc64bd127b93df432b8760897d9786f0f4.tar.gz Python-TBC-Interface-940f5cfc64bd127b93df432b8760897d9786f0f4.tar.bz2 Python-TBC-Interface-940f5cfc64bd127b93df432b8760897d9786f0f4.zip |
solving issue with browsing books
Diffstat (limited to 'tbc/views.py')
-rw-r--r-- | tbc/views.py | 1 |
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: |