utils.templatetags package

Submodules

utils.templatetags.google_map_url module

utils.templatetags.google_map_url.google_map_url(location, zoom=13, size='450x250')[source]

utils.templatetags.thumbnail module

Thumbnail template tags

utils.templatetags.thumbnail.thumbnail(path, size, fit=True)[source]

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

utils.templatetags.urlparams module

utils.templatetags.urlparams.urlparams(*_, **kwargs)[source]