X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/feee71de06ace01f793c2c8adf9cce65b9df2cec..eab7b3e180b32ddfd25db49fc00070cb8084c714:/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, })