X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fef355ba374be8fc115f43aae43baad75a88649c..ed5df159a03b0c3c0d17f9e7be8d925e9e73f669:/apps/cover/views.py diff --git a/apps/cover/views.py b/apps/cover/views.py index 607d8088..25033c18 100644 --- 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, })