Package omeroweb :: Package webgateway :: Package templatetags :: Module defaulttags
[hide private]
[frames] | no frames]

Module defaulttags

source code

Functions [hide private]
 
static(path)
Joins the given path with the STATIC_URL setting.
source code
Variables [hide private]
  register = template.Library()
  logger = logging.getLogger(__name__)

Imports: traceback, logging, urljoin, template, PrefixNode


Function Details [hide private]

static(path)

source code 

Joins the given path with the STATIC_URL setting.

Usage:

   {% static path %}

Examples:

   {% static "myapp/css/base.css" %}
   {% static variable_with_path %}
Decorators:
  • @register.simple_tag