Package omeroweb :: Package feedback :: Package templatetags :: Module feedback_tags
[hide private]
[frames] | no frames]

Module feedback_tags

source code

Functions [hide private]
 
get_static_feedback_prefix(parser, token)
Populates a template variable with the static prefix, ``settings.FEEDBACK_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_feedback_prefix(parser, token)

source code 

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

Usage:

   {% get_static_feedback_prefix [as varname] %}

Examples:

   {% get_static_feedback_prefix %}
   {% get_static_feedback_prefix as STATIC_FEEDBACK_PREFIX %}
Decorators:
  • @register.tag()