From 0c6c4d87dc63a4f0269866cec6725881a25891a8 Mon Sep 17 00:00:00 2001 From: Library Admin Date: Tue, 10 Sep 2013 14:43:21 +0200 Subject: [PATCH 1/1] wrong indent resulted in undefined variable --- 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 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 -- 2.20.1