Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using singular nouns in template tags.

  • Loading branch information...
commit 12306ca8a28fe4a85a0310f675562bfd0390b1ec 1 parent b6d738a
@lukeman lukeman authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mimesis/templatetags/mimesis_tags.py
View
4 mimesis/templatetags/mimesis_tags.py
@@ -103,7 +103,7 @@ def get_context_value_from_queryset(self, context, qs):
@register.tag
-def get_images_list(parser, token):
+def get_image_list(parser, token):
return MediaListNode.handle_token(parser, token, ImageAssociation)
@@ -113,7 +113,7 @@ def get_audio_list(parser, token):
@register.tag
-def get_videos_list(parser, token):
+def get_video_list(parser, token):
return MediaListNode.handle_token(parser, token, VideoAssociation)
Please sign in to comment.
Something went wrong with that request. Please try again.