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?hp=--cc wrong indent resulted in undefined variable --- 0c6c4d87dc63a4f0269866cec6725881a25891a8 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