From: Library Admin Date: Tue, 10 Sep 2013 12:43:21 +0000 (+0200) Subject: wrong indent resulted in undefined variable X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/0c6c4d87dc63a4f0269866cec6725881a25891a8 wrong indent resulted in undefined variable --- diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index bc54c3ea..ed5b15f2 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -353,7 +353,7 @@ def image(request, slug): return http.HttpResponseRedirect(image.get_absolute_url()) else: form = forms.ImageForm(instance=image) - editable = True + editable = True else: form = forms.ReadonlyImageForm(instance=image) editable = False