From bbc5bd6a7c8280758a2388ebffec26e0afc35d00 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 5 Jan 2012 15:07:53 +0100 Subject: [PATCH] fix for book form problem --- apps/catalogue/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 3c0e70ff..f56ec5b5 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -316,7 +316,7 @@ def book(request, slug): return http.HttpResponseRedirect(book.get_absolute_url()) else: form = forms.BookForm(instance=book) - editable = True + editable = True else: form = forms.ReadonlyBookForm(instance=book) editable = False -- 2.20.1