def get_static_feedback_prefix(parser, token):
    """
    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 %}

    """
    return PrefixNode.handle_token(parser, token, "STATIC_FEEDBACK_URL")
示例#2
0
def get_static_webclient_prefix(parser, token):
    """
    Populates a template variable with the static prefix,
    ``settings.WEBCLIENT_STATIC_URL``.

    Usage::

        {% get_static_webclient_prefix [as varname] %}

    Examples::

        {% get_static_webclient_prefix %}
        {% get_static_webclient_prefix as STATIC_WEBCLIENT_PREFIX %}

    """
    return PrefixNode.handle_token(parser, token, "STATIC_WEBCLIENT_URL")
示例#3
0
def get_static_feedback_prefix(parser, token):
    """
    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 %}

    """
    return PrefixNode.handle_token(parser, token, "STATIC_FEEDBACK_URL")
示例#4
0
def get_static_webadmin_prefix(parser, token):
    """
    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 %}

    """
    return PrefixNode.handle_token(parser, token, "STATIC_WEBADMIN_URL")