Module Import alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr UnaryOpNot AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Return BinOpMod NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr CompareNotEq Call NameLoad NameLoad Num CompareNotEq SubscriptLoad NameLoad Index Num Str body Raise Call NameLoad BinOpMod Str NameLoad Return Call NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr CompareNotEq Call NameLoad NameLoad Num CompareNotEq SubscriptLoad NameLoad Index Num Str body Raise Call NameLoad BinOpMod Str NameLoad Return Call NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr CompareNotEq Call NameLoad NameLoad Num CompareNotEq SubscriptLoad NameLoad Index Num Str body Raise Call NameLoad BinOpMod Str NameLoad Return Call NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Str Call AttributeLoad NameLoad attr Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpMod Str Call AttributeLoad SubscriptLoad NameLoad Slice Num Num attr Str Str If Call AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse Raise Call NameLoad Str orelse Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict While Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list Assign TupleStore NameStore NameStore NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Assign NameStore ListLoad While AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Break If BoolOpAnd NameLoad NameLoad body If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str body Raise Call NameLoad Str While AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Break If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad
N/A N/A re google.appengine._internal.django.template Node Variable VariableNode _render_value_in_context google.appengine._internal.django.template TemplateSyntaxError TokenParser Library google.appengine._internal.django.template TOKEN_TEXT TOKEN_VAR google.appengine._internal.django.utils translation google.appengine._internal.django.utils.encoding force_unicode N/A register N/A Library GetAvailableLanguagesNode N/A Node N/A __init__ N/A N/A self variable N/A N/A N/A N/A self variable variable N/A render N/A N/A self context N/A N/A google.appengine._internal.django.conf settings N/A N/A context N/A N/A self variable N/A N/A k N/A N/A translation ugettext v N/A N/A k v N/A settings LANGUAGES N/A N/A N/A GetCurrentLanguageNode N/A Node N/A __init__ N/A N/A self variable N/A N/A N/A N/A self variable variable N/A render N/A N/A self context N/A N/A N/A N/A context N/A N/A self variable N/A N/A translation get_language N/A N/A N/A GetCurrentLanguageBidiNode N/A Node N/A __init__ N/A N/A self variable N/A N/A N/A N/A self variable variable N/A render N/A N/A self context N/A N/A N/A N/A context N/A N/A self variable N/A N/A translation get_language_bidi N/A N/A N/A TranslateNode N/A Node N/A __init__ N/A N/A self filter_expression noop N/A N/A N/A N/A self noop noop N/A N/A self filter_expression filter_expression N/A N/A isinstance N/A N/A self filter_expression var basestring N/A N/A N/A N/A self filter_expression var N/A Variable N/A '%s' N/A N/A self filter_expression var N/A render N/A N/A self context N/A N/A N/A N/A N/A N/A self filter_expression var translate N/A N/A self noop N/A output N/A N/A N/A self filter_expression resolve context N/A N/A _render_value_in_context output context N/A N/A BlockTranslateNode N/A Node N/A __init__ N/A N/A self extra_context singular plural countervar counter N/A None None None N/A N/A N/A self extra_context extra_context N/A N/A self singular singular N/A N/A self plural plural N/A N/A self countervar countervar N/A N/A self counter counter N/A render_token_list N/A N/A self tokens N/A N/A N/A result N/A N/A vars N/A N/A token tokens N/A N/A N/A N/A token token_type TOKEN_TEXT N/A N/A N/A N/A result append N/A token contents N/A N/A N/A N/A token token_type TOKEN_VAR N/A N/A N/A N/A result append N/A %%(%s)s N/A token contents N/A N/A N/A vars append N/A token contents N/A N/A N/A N/A join result vars N/A render N/A N/A self context N/A N/A N/A tmp_context N/A N/A N/A var val N/A N/A N/A self extra_context items N/A N/A N/A tmp_context N/A var N/A N/A val render context N/A N/A N/A context update tmp_context N/A N/A singular vars N/A N/A self render_token_list N/A self singular N/A N/A N/A self plural N/A self countervar N/A self counter N/A N/A count N/A N/A N/A self counter resolve context N/A N/A context N/A N/A self countervar count N/A N/A plural plural_vars N/A N/A self render_token_list N/A self plural N/A result N/A N/A translation ungettext singular plural count N/A N/A N/A vars extend plural_vars N/A N/A result N/A N/A translation ugettext singular N/A result N/A N/A re sub %(?!\() %% result N/A data N/A dict N/A N/A v N/A _render_value_in_context N/A context N/A v context N/A v vars N/A N/A N/A context pop N/A N/A result data N/A N/A do_get_available_languages N/A N/A parser token N/A N/A N/A 
    This will store a list of available languages
    in the context.

    Usage::

        {% get_available_languages as languages %}
        {% for language in languages %}
        ...
        {% endfor %}

    This will just pull the LANGUAGES setting from
    your setting file (or the default settings) and
    put it into the named variable.
     N/A args N/A N/A N/A token contents split N/A N/A N/A N/A len args 3 N/A N/A args N/A 1 as N/A N/A N/A TemplateSyntaxError N/A 'get_available_languages' requires 'as variable' (got %r) args N/A N/A GetAvailableLanguagesNode N/A args N/A 2 N/A do_get_current_language N/A N/A parser token N/A N/A N/A 
    This will store the current language in the context.

    Usage::

        {% get_current_language as language %}

    This will fetch the currently active language and
    put it's value into the ``language`` context
    variable.
     N/A args N/A N/A N/A token contents split N/A N/A N/A N/A len args 3 N/A N/A args N/A 1 as N/A N/A N/A TemplateSyntaxError N/A 'get_current_language' requires 'as variable' (got %r) args N/A N/A GetCurrentLanguageNode N/A args N/A 2 N/A do_get_current_language_bidi N/A N/A parser token N/A N/A N/A 
    This will store the current language layout in the context.

    Usage::

        {% get_current_language_bidi as bidi %}

    This will fetch the currently active language's layout and
    put it's value into the ``bidi`` context variable.
    True indicates right-to-left layout, otherwise left-to-right
     N/A args N/A N/A N/A token contents split N/A N/A N/A N/A len args 3 N/A N/A args N/A 1 as N/A N/A N/A TemplateSyntaxError N/A 'get_current_language_bidi' requires 'as variable' (got %r) args N/A N/A GetCurrentLanguageBidiNode N/A args N/A 2 N/A do_translate N/A N/A parser token N/A N/A N/A 
    This will mark a string for translation and will
    translate the string for the current language.

    Usage::

        {% trans "this is a test" %}

    This will mark the string for translation so it will
    be pulled out by mark-messages.py into the .po files
    and will run the string through the translation engine.

    There is a second form::

        {% trans "this is a test" noop %}

    This will only mark for translation, but will return
    the string unchanged. Use it when you need to store
    values into forms that should be translated later on.

    You can use variables instead of constant strings
    to translate stuff you marked somewhere else::

        {% trans variable %}

    This will just try to translate the contents of
    the variable ``variable``. Make sure that the string
    in there is something that is in the .po file.
     TranslateParser N/A TokenParser N/A top N/A N/A self N/A N/A N/A value N/A N/A self value N/A N/A N/A value N/A 0 ' N/A N/A pos None N/A m N/A N/A re match ^'([^']+)'(\|.*$) value N/A m N/A N/A value N/A "%s"%s N/A N/A N/A N/A N/A m group 1 replace " \" N/A N/A m group 2 N/A N/A N/A N/A value N/A -1 ' N/A N/A value N/A "%s" N/A N/A N/A value N/A 1 -1 replace " \" N/A N/A N/A self more N/A N/A N/A N/A N/A self tag noop N/A N/A noop True N/A N/A N/A TemplateSyntaxError only option for 'trans' is 'noop' N/A N/A noop False N/A N/A value noop N/A N/A N/A N/A value noop N/A N/A N/A TranslateParser N/A token contents top N/A N/A TranslateNode N/A N/A parser compile_filter value noop N/A do_block_translate N/A N/A parser token N/A N/A N/A 
    This will translate a block of text with parameters.

    Usage::

        {% blocktrans with foo|filter as bar and baz|filter as boo %}
        This is {{ bar }} and {{ boo }}.
        {% endblocktrans %}

    Additionally, this supports pluralization::

        {% blocktrans count var|length as count %}
        There is {{ count }} object.
        {% plural %}
        There are {{ count }} objects.
        {% endblocktrans %}

    This is much like ngettext, only in template syntax.
     BlockTranslateParser N/A TokenParser N/A top N/A N/A self N/A N/A N/A countervar None N/A counter None N/A extra_context N/A N/A N/A N/A self more N/A N/A tag N/A N/A self tag N/A N/A N/A tag with N/A tag and N/A N/A value N/A N/A self value N/A N/A N/A N/A self tag as N/A N/A N/A TemplateSyntaxError variable bindings in 'blocktrans' must be 'with value as variable' N/A N/A extra_context N/A N/A N/A self tag N/A VariableNode N/A N/A parser compile_filter value N/A N/A N/A tag count N/A N/A counter N/A N/A parser compile_filter N/A N/A self value N/A N/A N/A N/A self tag as N/A N/A N/A TemplateSyntaxError counter specification in 'blocktrans' must be 'count value as variable' N/A countervar N/A N/A self tag N/A N/A N/A TemplateSyntaxError N/A unknown subtag %s for 'blocktrans' found tag N/A N/A countervar counter extra_context N/A N/A N/A N/A countervar counter extra_context N/A N/A N/A BlockTranslateParser N/A token contents top N/A singular N/A N/A plural N/A N/A N/A parser tokens N/A N/A token N/A N/A parser next_token N/A N/A N/A token token_type N/A TOKEN_VAR TOKEN_TEXT N/A N/A N/A N/A singular append token N/A N/A N/A N/A countervar counter N/A N/A N/A N/A N/A N/A token contents strip plural N/A N/A N/A TemplateSyntaxError 'blocktrans' doesn't allow other block tags inside it N/A N/A parser tokens N/A N/A token N/A N/A parser next_token N/A N/A N/A token token_type N/A TOKEN_VAR TOKEN_TEXT N/A N/A N/A N/A plural append token N/A N/A N/A N/A N/A N/A N/A token contents strip endblocktrans N/A N/A N/A TemplateSyntaxError N/A 'blocktrans' doesn't allow other block tags (seen %r) inside it N/A token contents N/A N/A BlockTranslateNode extra_context singular plural countervar counter N/A N/A N/A N/A register tag get_available_languages do_get_available_languages N/A N/A N/A register tag get_current_language do_get_current_language N/A N/A N/A register tag get_current_language_bidi do_get_current_language_bidi N/A N/A N/A register tag trans do_translate N/A N/A N/A register tag blocktrans do_block_translate