Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Str attr Str Assign NameStore ListLoad TupleLoad Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str keyword NameLoad Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A doctest N/A unittest django.contrib.contenttypes.models ContentType positions.examples.lists.models List positions.examples.generic.models GenericThing django.test TestCase GenericTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A GenericThing objects all delete N/A N/A N/A N/A N/A N/A ContentType objects all delete N/A N/A N/A N/A N/A N/A List objects all delete N/A test_doctests_standin N/A N/A self N/A N/A N/A N/A self l N/A N/A N/A List objects create name To Do N/A N/A self ct N/A N/A N/A ContentType objects get_for_model N/A self l N/A N/A self t1 N/A N/A N/A GenericThing objects create name First Generic Thing object_id N/A N/A self l pk content_type N/A self ct N/A N/A self t2 N/A N/A N/A GenericThing objects create name Second Generic Thing object_id N/A N/A self l pk content_type N/A self ct N/A N/A N/A self assertEquals N/A N/A self t1 position 0 N/A N/A N/A self assertEquals N/A N/A self t2 position 1 N/A N/A N/A self t1 position 1 N/A N/A N/A N/A self t1 save N/A N/A N/A self assertEquals N/A N/A self t1 position 1 N/A N/A self t2 N/A N/A N/A GenericThing objects get pk 2 N/A N/A N/A self assertEquals N/A N/A self t2 position 0 N/A N/A N/A N/A self t1 delete N/A actual_order N/A list N/A N/A N/A N/A N/A N/A N/A GenericThing objects filter object_id N/A N/A self l pk content_type N/A self ct values_list name position order_by position N/A expected_order N/A N/A Second Generic Thing 0 N/A N/A N/A self assertEqual actual_order expected_order N/A N/A self t3 N/A N/A N/A GenericThing objects create object_id N/A N/A self l pk content_type N/A self ct name Mr. None N/A N/A N/A N/A self t3 save N/A N/A N/A self assertEquals N/A N/A self t3 position 1 N/A N/A self t4 N/A N/A N/A GenericThing objects create object_id N/A N/A self l pk content_type N/A self ct name Mrs. None N/A N/A N/A self assertEquals N/A N/A self t4 position 2 N/A N/A N/A self t4 position -2 N/A N/A N/A N/A self t4 save N/A N/A N/A self assertEquals N/A N/A self t4 position 1 N/A actual_order N/A list N/A N/A N/A N/A N/A GenericThing objects order_by position values_list name flat True N/A expected_order N/A Second Generic Thing Mrs. None Mr. None N/A N/A N/A self assertEqual actual_order expected_order N/A N/A