-# -*- 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.
#
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)