From: Radek Czajka Date: Thu, 5 Jan 2012 14:07:53 +0000 (+0100) Subject: fix for book form problem X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/bbc5bd6a7c8280758a2388ebffec26e0afc35d00?ds=inline fix for book form problem --- 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