From 940f5cfc64bd127b93df432b8760897d9786f0f4 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Sat, 15 Mar 2014 18:05:58 +0530 Subject: solving issue with browsing books --- tbc/views.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tbc/views.py') 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: -- cgit