Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad For NameStore TupleLoad Str Str Str body If Call NameLoad NameLoad NameLoad body TryExcept body Return Call NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Pass For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Import alias Assign NameStore BoolOpOr NameLoad Dict Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Dict Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Num Return Call NameLoad SubscriptLoad NameLoad Index Num decorator_list AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Num NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str Str body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad orelse If CompareEq Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad orelse Return SubscriptLoad NameLoad Slice NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr NameLoad
N/A N/A re N/A urllib django template django.template.defaultfilters stringfilter django.template Template Variable TemplateSyntaxError django.http HttpResponse django.db.models.query QuerySet django.template.loader_tags BlockNode ExtendsNode django.template loader Context RequestContext TextNode djcommon.helpers random_slice_list N/A register N/A N/A template Library get_template N/A N/A template N/A N/A N/A N/A isinstance template N/A tuple list N/A N/A N/A N/A loader select_template template N/A N/A N/A loader get_template template N/A BlockNotFound N/A Exception N/A N/A N/A render_template_block N/A N/A template block context N/A N/A N/A 
    Renders a single block from a template. This template should have previously been rendered.
     N/A N/A render_template_block_nodelist N/A template nodelist block context N/A render_template_block_nodelist N/A N/A nodelist block context N/A N/A N/A node nodelist N/A N/A N/A N/A isinstance node BlockNode N/A N/A node name block N/A N/A N/A N/A node render context N/A key N/A nodelist nodelist_true nodelist_false N/A N/A N/A hasattr node key N/A N/A N/A N/A N/A render_template_block_nodelist N/A getattr node key block context N/A N/A N/A N/A N/A node nodelist N/A N/A N/A isinstance node ExtendsNode N/A N/A N/A N/A N/A render_template_block N/A N/A node get_parent context block context N/A N/A N/A BlockNotFound N/A N/A N/A N/A BlockNotFound block N/A render_block_to_string N/A N/A template_name block dictionary context_instance N/A None None N/A N/A 
    Loads the given template_name and renders the given block with the given dictionary as
    context. Returns a string.
     N/A re N/A dictionary N/A dictionary N/A N/A t N/A get_template template_name N/A context_instance N/A N/A N/A N/A context_instance update dictionary N/A N/A context_instance N/A Context dictionary N/A template_block N/A render_template_block t block context_instance N/A N/A N/A re sub \s+ template_block N/A direct_block_to_template N/A N/A request template block extra_context mimetype N/A None None kwargs N/A N/A 
    Render a given block in a given template with any extra URL parameters in the context as
    ``{{ params }}``.
     N/A N/A extra_context None N/A N/A extra_context N/A N/A dictionary N/A params kwargs N/A N/A key value N/A N/A extra_context items N/A N/A N/A callable value N/A N/A N/A dictionary N/A key N/A value N/A N/A N/A dictionary N/A key value N/A c N/A RequestContext request dictionary N/A t N/A get_template template N/A N/A N/A t render c N/A N/A HttpResponse N/A render_template_block t block c mimetype mimetype N/A RenderAsTemplateNode N/A N/A template Node N/A __init__ N/A N/A self item_to_be_rendered N/A N/A N/A N/A self item_to_be_rendered N/A Variable item_to_be_rendered N/A render N/A N/A self context N/A N/A N/A N/A N/A actual_item N/A N/A N/A self item_to_be_rendered resolve context N/A N/A N/A N/A Template actual_item render context N/A N/A N/A N/A template VariableDoesNotExist N/A N/A N/A N/A render_as_template N/A N/A parser token N/A N/A N/A bits N/A N/A token split_contents N/A N/A N/A len bits 2 N/A N/A N/A TemplateSyntaxError N/A '%s' takes only one argument (a variable representing a template to render) N/A bits N/A 0 N/A N/A RenderAsTemplateNode N/A bits N/A 1 N/A N/A register tag RenderTemplateBlockNode N/A N/A template Node N/A __init__ N/A N/A self template_name block_name N/A N/A N/A N/A self template_name template_name N/A N/A self block_name block_name N/A render N/A N/A self context N/A N/A N/A N/A render_block_to_string base.html N/A N/A self block_name N/A 1 -1 context N/A N/A render_template_block_tag N/A N/A parser token N/A N/A N/A N/A N/A N/A tag_name template_name block_name N/A N/A token split_contents N/A N/A N/A ValueError N/A N/A N/A TemplateSyntaxError N/A '%s' takes two arguments (a variable representing a template and a block name) tag_name N/A N/A N/A N/A N/A block_name N/A 0 N/A block_name N/A -1 N/A N/A block_name N/A 0 N/A " ' N/A N/A N/A N/A template TemplateSyntaxError N/A %r tag's argument (block_name) should be in quotes tag_name N/A N/A RenderTemplateBlockNode template_name block_name N/A N/A N/A register tag render_template_block random_slice N/A N/A value arg N/A 1 N/A N/A 
    Returns one or more random item(s) from the list or if it's a queryset a new filtered queryset.
     N/A N/A N/A arg N/A int arg N/A N/A N/A ValueError N/A N/A N/A Exception N/A Invalid argument: %s arg N/A N/A N/A type value QuerySet N/A N/A pks N/A list N/A N/A value values_list pk flat True N/A random_pks N/A random_slice_list pks arg N/A N/A N/A value filter pk__in random_pks N/A N/A N/A N/A type value list N/A N/A N/A random_slice_list value arg N/A N/A N/A value N/A arg N/A N/A register filter_function zip_lists N/A N/A a b N/A N/A N/A N/A zip a b N/A N/A N/A register filter name zip cleartags N/A N/A value tags N/A N/A N/A tags N/A N/A N/A re escape tag N/A tag N/A N/A tags split N/A tags_re N/A (%s) N/A N/A | join tags N/A clear_re N/A N/A re compile N/A <\s*%s[^>]*>(.*?)<\s*/\s*\1> tags_re N/A re U N/A value N/A N/A clear_re sub value N/A value N/A N/A register filter stringfilter N/A N/A cleartags is_safe True split N/A N/A str splitter N/A N/A N/A Splits the string for with the given splitter N/A N/A N/A str split splitter N/A N/A register filter stringfilter cut N/A N/A value arg N/A N/A N/A Removes all values of arg from the given string N/A N/A N/A value replace arg N/A N/A register filter stringfilter N/A N/A cut is_safe True replace N/A N/A value arg N/A N/A N/A Replaces all arg in the given string N/A arg N/A N/A arg split N/A N/A N/A value replace N/A arg N/A 0 N/A arg N/A 1 N/A N/A register filter stringfilter N/A N/A replace is_safe True nowhitespace N/A N/A value N/A N/A N/A Removes all whitespace from the given string N/A N/A N/A join N/A N/A value split N/A N/A register filter N/A N/A nowhitespace is_safe True cleanwhitespace N/A N/A value N/A N/A N/A Removes all multiple whitespace from the given string N/A N/A N/A join N/A N/A value split N/A N/A register filter N/A N/A cleanwhitespace is_safe True startswith N/A N/A value arg N/A N/A N/A Checks if the given string starts with arg N/A N/A N/A value startswith arg N/A N/A register filter stringfilter endswith N/A N/A value arg N/A N/A N/A Checks if the given string ends with arg N/A N/A N/A value endswith arg N/A N/A register filter stringfilter urlunquote N/A N/A value N/A N/A N/A Unquote a url N/A N/A N/A urllib unquote value N/A N/A register filter stringfilter