Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Dict Str ListLoad Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str decorator_list decorator_list
N/A django.template Template Context TemplateSyntaxError django.test TestCase templatetag_sugar.tests.models Book SugarTestCase N/A TestCase N/A assert_renders N/A N/A self tmpl context value N/A N/A N/A tmpl N/A Template tmpl N/A N/A N/A self assertEqual N/A N/A tmpl render context value N/A assert_syntax_error N/A N/A self tmpl error N/A N/A N/A N/A N/A N/A Template tmpl N/A N/A N/A TemplateSyntaxError N/A e N/A N/A N/A N/A self assertTrue N/A N/A N/A str e endswith error N/A %s didn't end with %s N/A N/A str e error N/A N/A N/A N/A self fail Didn't raise N/A test_basic N/A N/A self N/A N/A N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_1 for "alex" %} N/A Context alex N/A c N/A Context N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_1 for "brian" as name %} c N/A N/A N/A self assertEqual N/A c N/A name brian N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_1 for variable %} N/A Context N/A variable N/A 1 2 3 [1, 2, 3] N/A test_model N/A N/A self N/A N/A N/A N/A N/A N/A Book objects create title Pro Django N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_2 tests.Book 2 %} N/A Context [<Book: Pro Django>] N/A test_errors N/A N/A self N/A N/A N/A N/A N/A self assert_syntax_error {% load test_tags %}{% test_tag_1 for "jesse" as %} test_tag_1 has the following syntax: {% test_tag_1 for <arg> [as <arg>] %} N/A N/A N/A self assert_syntax_error {% load test_tags %}{% test_tag_4 width %} test_tag_4 has the following syntax: {% test_tag_4 [width <width>] [height <height>] %} N/A test_variable_as_string N/A N/A self N/A N/A N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_3 "xela alex" %} N/A Context xela alex N/A test_optional N/A N/A self N/A N/A N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_4 width 100 height 200 %} N/A Context 100, 200 N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_4 width 100 %} N/A Context 100, None N/A N/A N/A self assert_renders {% load test_tags %}{% test_tag_4 height 100 %} N/A Context None, 100 N/A N/A N/A self assert_syntax_error {% load test_tags %}{% test_tag_1 %} test_tag_1 has the following syntax: {% test_tag_1 for <arg> [as <arg>] %} N/A N/A