Package omeroweb :: Package webadmin :: Package templatetags :: Module webadmin_tags
[hide private]
[frames] | no frames]

Module webadmin_tags

source code

Functions [hide private]
 
get_static_webadmin_prefix(parser, token)
Populates a template variable with the static prefix, ``settings.WEBADMIN_STATIC_URL``.
source code
Variables [hide private]
  register = template.Library()
  logger = logging.getLogger(__name__)

Imports: datetime, traceback, logging, settings, template, PrefixNode


Function Details [hide private]

get_static_webadmin_prefix(parser, token)

source code 

Populates a template variable with the static prefix, ``settings.WEBADMIN_STATIC_URL``.

Usage:

   {% get_static_webadmin_prefix [as varname] %}

Examples:

   {% get_static_webadmin_prefix %}
   {% get_static_webadmin_prefix as STATIC_WEBADMIN_PREFIX %}
Decorators:
  • @register.tag()