From 9a2adc69c8c99b3bcc630df4ebaf77db964c8b55 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Tue, 24 Jun 2014 15:26:02 +0530 Subject: correcting the form name --- tbc/templates/tbc/completed_books.html | 4 +--- tbc/views.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tbc') diff --git a/tbc/templates/tbc/completed_books.html b/tbc/templates/tbc/completed_books.html index f964987..473f619 100644 --- a/tbc/templates/tbc/completed_books.html +++ b/tbc/templates/tbc/completed_books.html @@ -5,8 +5,7 @@ {% endblock %} @@ -33,7 +32,6 @@ function submitCategory() -
    {% for book in completed_books %}
  1. {{ book.title }} by {{ book.author }}
  2. diff --git a/tbc/views.py b/tbc/views.py index 0051f8d..a232b36 100755 --- a/tbc/views.py +++ b/tbc/views.py @@ -619,6 +619,7 @@ def ConvertNotebook(request, notebook_path=None): def CompletedBooks(request): context = {} + context.update(csrf(request)) category = "All" if request.user.is_anonymous(): context['anonymous'] = True -- cgit