X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d1d6ea8ed2889f871b6d89d4fae6021f286f921a..084f20588e607aa9ae3ed280b6a2f0349b6a3200:/src/picture/views.py?ds=inline diff --git a/src/picture/views.py b/src/picture/views.py index a43c09555..98485afec 100644 --- a/src/picture/views.py +++ b/src/picture/views.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -103,16 +102,6 @@ def import_picture(request): return HttpResponse(_("Error importing file: %r") % import_form.errors) -@ssi_included -def picture_mini(request, pk, with_link=True): - picture = get_object_or_404(Picture, pk=pk) - return render(request, 'picture/picture_mini_box.html', { - 'picture': picture, - 'author': picture.author_unicode(), - 'with_link': with_link, - }) - - @ssi_included def picture_short(request, pk): picture = get_object_or_404(Picture, pk=pk)