utils.templatetags package¶
Submodules¶
utils.templatetags.google_map_url module¶
utils.templatetags.thumbnail module¶
Thumbnail template tags
This templatetag provides us with a way of getting a thumbnail directly inside templates. See the documentation of
get_thumbnail_url()
for a more information. :param path: the path or ImageField we want an thumbnail from, this field MUST NEVER be a user input :param size: the size formatted like widthxheight :param fit: True if we want the image to fit :return: the thumbnail url