Module ImportFrom alias alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr Call NameLoad NameLoad comprehension NameStore NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str Return Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Return IfExp NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr IfExp CompareEq NameLoad NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad NameLoad orelse TryExcept body Delete SubscriptDel AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad Call NameLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad Str keyword NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr
N/A __future__ unicode_literals print_function N/A N/A N/A urlparse N/A N/A N/A ImportError N/A N/A urllib.parse urlparse django.core.urlresolvers reverse django.http QueryDict django.template.defaulttags CsrfTokenNode django.utils six django.utils.encoding smart_str N/A N/A django.utils.encoding smart_unicode smart_text N/A N/A N/A ImportError N/A django.utils.encoding smart_text django.utils.http urlencode django.utils.translation ugettext _ N/A jinja2 jingo register csrf N/A N/A context N/A N/A N/A Equivalent of Django's ``{% crsf_token %}``. N/A N/A N/A jinja2 Markup N/A N/A N/A CsrfTokenNode render context N/A N/A register function N/A jinja2 contextfunction f N/A N/A s N/A args kwargs N/A N/A 
    Uses ``str.format`` for string interpolation.

    **Note**: Always converts to s to text type before interpolation.

    >>> {{ "{0} arguments and {x} arguments"|f('positional', x='keyword') }}
    "positional arguments and keyword arguments"
     N/A s N/A N/A six text_type s N/A N/A N/A s format args kwargs N/A N/A register filter fe N/A N/A s N/A args kwargs N/A N/A Format a safe string with potentially unsafe arguments, then return a
    safe string. N/A s N/A N/A six text_type s N/A args N/A N/A N/A jinja2 escape N/A smart_text v N/A v args N/A k kwargs N/A N/A N/A kwargs N/A k N/A N/A jinja2 escape N/A smart_text N/A kwargs N/A k N/A N/A N/A jinja2 Markup N/A N/A s format args kwargs N/A N/A register filter nl2br N/A N/A string N/A N/A N/A Turn newlines into <br>. N/A N/A string N/A N/A N/A N/A N/A jinja2 Markup N/A N/A <br> join N/A N/A N/A N/A jinja2 escape string splitlines N/A N/A register filter datetime N/A N/A t fmt N/A None N/A N/A Call ``datetime.strftime`` with the given format string. N/A N/A fmt None N/A N/A fmt N/A _ %B %e, %Y N/A N/A N/A six PY3 N/A N/A fmt N/A N/A fmt encode utf-8 N/A N/A t N/A smart_text N/A N/A t strftime fmt N/A N/A register filter ifeq N/A N/A a b text N/A N/A N/A Return ``text`` if ``a == b``. N/A N/A N/A jinja2 Markup N/A N/A a b text N/A N/A register filter class_selected N/A N/A a b N/A N/A N/A Return ``'class="selected"'`` if ``a == b``. N/A N/A ifeq a b class="selected" N/A N/A register filter field_attrs N/A N/A field_inst N/A kwargs N/A N/A Adds html attributes to django form fields N/A N/A k v N/A N/A kwargs items N/A N/A N/A v None N/A N/A N/A N/A N/A N/A field_inst field widget attrs N/A k v N/A N/A N/A N/A N/A N/A N/A N/A field_inst field widget attrs N/A k N/A N/A N/A KeyError N/A N/A N/A field_inst N/A N/A register filter url N/A N/A viewname N/A args kwargs N/A N/A Return URL using django's ``reverse()`` function. N/A N/A reverse viewname args args kwargs kwargs N/A N/A N/A register function override False urlparams N/A N/A url_ fragment query_dict N/A None None query N/A N/A 
Add a fragment and/or query parameters to a URL.

New query params will be appended to exising parameters, except duplicate
names, which will be replaced.
 N/A url_ N/A N/A urlparse urlparse url_ N/A fragment N/A N/A fragment None fragment N/A url_ fragment N/A q N/A url_ query N/A new_query_dict N/A q N/A QueryDict N/A smart_str q mutable True N/A QueryDict mutable True N/A query_dict N/A N/A N/A k l N/A N/A query_dict lists N/A N/A N/A new_query_dict N/A k None N/A v l N/A N/A N/A N/A new_query_dict appendlist k v N/A N/A k v N/A N/A query items N/A N/A N/A isinstance v list N/A N/A N/A N/A new_query_dict setlist k v N/A N/A N/A new_query_dict N/A k v N/A query_string N/A urlencode N/A N/A k v N/A N/A k l N/A N/A new_query_dict lists N/A v l N/A v None N/A new N/A N/A urlparse ParseResult N/A url_ scheme N/A url_ netloc N/A url_ path N/A url_ params query_string fragment N/A N/A N/A new geturl N/A N/A register filter