fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check cover image dimensions in forms
[redakcja.git]
/
apps
/
cover
/
views.py
diff --git
a/apps/cover/views.py
b/apps/cover/views.py
index
607d808
..
25033c1
100644
(file)
--- a/
apps/cover/views.py
+++ b/
apps/cover/views.py
@@
-98,7
+98,7
@@
def image(request, pk):
editable = False
return render(request, "cover/image_detail.html", {
- "object":
image
,
+ "object":
Image.objects.get(id=image.id)
,
"form": form,
"editable": editable,
})