Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad Num Num Num Num For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr NameLoad decorator_list decorator_list
N/A testmodels OrderedModel django.test TestCase OrderTest N/A TestCase N/A create_ordered_model_items N/A N/A self N/A N/A N/A pks N/A N/A priorities N/A 5 2 9 1 N/A N/A pk priority N/A enumerate priorities N/A N/A pk 1 N/A model N/A OrderedModel pk pk priority priority N/A N/A N/A model save N/A N/A N/A pks append N/A model pk N/A N/A pks priorities N/A test_default_order N/A N/A self N/A N/A N/A N/A pks priorities N/A N/A self create_ordered_model_items N/A N/A N/A self assertEquals N/A N/A item priority N/A item N/A N/A N/A OrderedModel objects all N/A sorted priorities reverse True N/A test_override_default_order N/A N/A self N/A N/A N/A N/A pks priorities N/A N/A self create_ordered_model_items N/A N/A N/A self assertEquals N/A N/A item priority N/A item N/A N/A N/A N/A N/A OrderedModel objects all order_by priority N/A sorted priorities N/A test_remove_default_order N/A N/A self N/A N/A N/A N/A pks priorities N/A N/A self create_ordered_model_items N/A N/A N/A self assertEquals N/A N/A item pk N/A item N/A N/A N/A N/A N/A OrderedModel objects all order_by N/A sorted pks N/A test_order_with_pk_filter N/A N/A self N/A N/A N/A N/A pks priorities N/A N/A self create_ordered_model_items N/A N/A N/A self assertEquals N/A N/A item priority N/A item N/A N/A N/A OrderedModel objects filter pk__in pks N/A sorted priorities reverse True N/A N/A N/A self assertEquals N/A N/A item priority N/A item N/A N/A N/A OrderedModel objects filter id__in pks N/A sorted priorities reverse True N/A N/A N/A self assertEquals N/A N/A item priority N/A item N/A N/A N/A N/A N/A OrderedModel objects filter pk__in pks reverse N/A sorted priorities reverse False N/A test_remove_default_order_with_pk_filter N/A N/A self N/A N/A N/A N/A pks priorities N/A N/A self create_ordered_model_items N/A N/A N/A self assertEquals N/A N/A item priority N/A item N/A N/A N/A N/A N/A OrderedModel objects filter pk__in pks order_by priorities N/A N/A