Module Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore ListLoad SubscriptLoad NameLoad Index Num Str orelse Assign TupleStore NameStore NameStore NameLoad TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad ExceptHandler body Return NameLoad decorator_list AttributeLoad NameLoad attr
N/A N/A 
    Tag to use python introspection in a Django template
 django template N/A register N/A N/A template Library getattr N/A N/A obj args N/A N/A N/A  
        Try to get an attribute from an object.

        Example: {% if block|getattr:"editable,True" %}

        Beware that the default is always a string, if you want this
        to return False, pass an empty second argument:

        {% if block|getattr:"editable," %}

        Source: http://djangosnippets.org/snippets/38/
     N/A N/A N/A args N/A N/A args split , N/A N/A N/A AttributeError N/A N/A N/A AttributeError N/A "%s" is not a proper value the "getattr" filter applied to "%s" N/A args obj N/A N/A N/A len args 1 N/A N/A N/A attribute default N/A N/A args N/A 0 N/A N/A N/A attribute default args N/A N/A N/A N/A N/A obj __getattribute__ attribute N/A N/A N/A AttributeError N/A N/A N/A N/A N/A obj __dict__ get attribute default N/A N/A N/A default N/A N/A register filter