X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ddf2102eff7ea420a4ea5144c43409587fc1156e..94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5:/src/picture/templatetags/picture_tags.py diff --git a/src/picture/templatetags/picture_tags.py b/src/picture/templatetags/picture_tags.py index 43f2775d7..28660b1f9 100644 --- a/src/picture/templatetags/picture_tags.py +++ b/src/picture/templatetags/picture_tags.py @@ -17,17 +17,6 @@ register = template.Library() cropper = CustomCroppingEngine() -@register.inclusion_tag('picture/picture_wide.html', takes_context=True) -def picture_wide(context, picture): - context.update({ - 'picture': picture, - 'main_link': reverse('picture_viewer', args=[picture.slug]), - 'request': context.get('request'), - 'tags': split_tags(picture.tags), - }) - return context - - @register.simple_tag() def area_thumbnail_url(area, geometry): def to_square(coords):