module documentation

Undocumented

Class PrefixNode No class docstring; 0/2 instance variable, 0/3 method, 1/2 class method documented
Class StaticNode No class docstring; 0/2 instance variable, 0/1 class variable, 0/4 method, 1/2 class method documented
Function do_static Join the given path with the STATIC_URL setting.
Function get_media_prefix Populate a template variable with the media prefix, ``settings.MEDIA_URL``.
Function get_static_prefix Populate a template variable with the static prefix, ``settings.STATIC_URL``.
Function static Given a relative path to a static asset, return the absolute path to the asset.
Variable register Undocumented
@register.tag('static')
def do_static(parser, token): (source)

Join the given path with the STATIC_URL setting. Usage:: {% static path [as varname] %} Examples:: {% static "myapp/css/base.css" %} {% static variable_with_path %} {% static "myapp/css/base.css" as admin_base_css %} {% static variable_with_path as varname %}

@register.tag
def get_media_prefix(parser, token): (source)

Populate a template variable with the media prefix, ``settings.MEDIA_URL``. Usage:: {% get_media_prefix [as varname] %} Examples:: {% get_media_prefix %} {% get_media_prefix as media_prefix %}

@register.tag
def get_static_prefix(parser, token): (source)

Populate a template variable with the static prefix, ``settings.STATIC_URL``. Usage:: {% get_static_prefix [as varname] %} Examples:: {% get_static_prefix %} {% get_static_prefix as static_prefix %}

def static(path): (source)

Given a relative path to a static asset, return the absolute path to the asset.

register = (source)

Undocumented