Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return Str orelse Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareLt Call NameLoad NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore NameLoad Assign NameStore Call NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse If CompareEq NameLoad Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str
N/A N/A sys django template django.template Node django.template TemplateSyntaxError django.template Variable django.template.defaultfilters stringfilter django.utils six django.utils.safestring mark_safe precise_bbcode.shortcuts render_bbcodes N/A register N/A N/A template Library BBCodeNode N/A Node N/A __init__ N/A N/A self filter_expression asvar N/A None N/A N/A N/A self filter_expression filter_expression N/A N/A self asvar asvar N/A N/A isinstance N/A N/A self filter_expression var N/A six string_types N/A N/A N/A N/A self filter_expression var N/A Variable N/A N/A '{!s}' format N/A N/A self filter_expression var N/A render N/A N/A self context N/A N/A N/A output N/A N/A N/A self filter_expression resolve context N/A value N/A mark_safe N/A render_bbcodes output N/A N/A self asvar N/A N/A N/A context N/A N/A self asvar value N/A N/A N/A value N/A N/A bbcode N/A N/A value N/A N/A N/A N/A render_bbcodes value N/A N/A N/A register filter is_safe True stringfilter do_bbcode_rendering N/A N/A parser token N/A N/A N/A 
    This will render a string containing bbcodes to the corresponding HTML markup.

    Usage::

        {%  bbcode "[b]hello world![/b]" %}

    You can use variables instead of constant strings to render bbcode stuff::

        {%  bbcode contentvar %}

    It is possible to store the rendered string into a variable::

        {%  bbcode "[b]hello world![/b]" as renderedvar %}
     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 N/A '{0}' takes at least one argument format N/A bits N/A 0 N/A value N/A N/A parser compile_filter N/A bits N/A 1 N/A remaining N/A bits N/A 2 N/A asvar None N/A seen N/A set N/A remaining N/A N/A option N/A N/A remaining pop 0 N/A N/A option seen N/A N/A N/A TemplateSyntaxError N/A N/A The '{0}' option was specified more than once. format option N/A N/A N/A option as N/A N/A N/A N/A var_value N/A N/A remaining pop 0 N/A N/A N/A IndexError N/A N/A msg N/A N/A No argument provided to the '{0}' tag for the as option. format N/A bits N/A 0 N/A N/A N/A six reraise TemplateSyntaxError N/A TemplateSyntaxError msg N/A N/A N/A sys exc_info N/A 2 N/A asvar var_value N/A N/A N/A TemplateSyntaxError N/A N/A Unknown argument for '{0}' tag: '{1}'. The only options available is 'as VAR'. format N/A bits N/A 0 option N/A N/A N/A seen add option N/A N/A BBCodeNode value asvar N/A N/A N/A register tag bbcode