X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/967eed676fc83d15b26149047f353ac61faa8217..084f20588e607aa9ae3ed280b6a2f0349b6a3200:/src/picture/views.py?ds=sidebyside diff --git a/src/picture/views.py b/src/picture/views.py index ecd5d66cf..98485afec 100644 --- a/src/picture/views.py +++ b/src/picture/views.py @@ -102,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)