Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases body Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr Return ListComp TupleLoad NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If CompareIs Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr IfExp CompareIs NameLoad NameLoad Num BinOpAdd NameLoad Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Return Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Return If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr attr BinOpAdd Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Dict BinOpAdd AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad attr Dict AttributeLoad NameLoad attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad Call AttributeLoad NameLoad attr Dict BinOpAdd AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad attr Dict AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Return If CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore BoolOpOr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Return If CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore BoolOpOr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Num orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Str ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str decorator_list decorator_list
N/A N/A warnings django.contrib.contenttypes.models ContentType django.core.urlresolvers reverse django.db models django.db.models Max Min F django.utils.translation ugettext _ OrderedModelBase N/A N/A models Model N/A N/A 
    An abstract model that allows objects to be ordered relative to each other.
    Usage (See ``OrderedModel``):
     - create a model subclassing ``OrderedModelBase``
     - add an indexed ``PositiveIntegerField`` to the model
     - set ``order_field_name`` to the name of that field
     - use the same field name in ``Meta.ordering``
     N/A order_field_name None N/A order_with_respect_to None Meta N/A N/A N/A abstract True N/A _get_order_with_respect_to N/A N/A self N/A N/A N/A N/A N/A type N/A self order_with_respect_to str N/A N/A N/A self order_with_respect_to N/A N/A self order_with_respect_to N/A N/A N/A field N/A getattr self field N/A field N/A self order_with_respect_to N/A _valid_ordering_reference N/A N/A self reference N/A N/A N/A N/A N/A N/A self order_with_respect_to None N/A N/A N/A self _get_order_with_respect_to N/A N/A reference _get_order_with_respect_to N/A get_ordering_queryset N/A N/A self qs N/A None N/A N/A qs N/A qs N/A N/A N/A N/A self __class__ objects all N/A order_with_respect_to N/A self order_with_respect_to N/A order_with_respect_to N/A N/A order_values N/A N/A self _get_order_with_respect_to N/A qs N/A N/A qs filter order_values N/A qs N/A save N/A N/A self N/A args kwargs N/A N/A N/A N/A getattr self N/A self order_field_name None N/A N/A c N/A N/A N/A N/A N/A N/A self get_ordering_queryset aggregate N/A Max N/A self order_field_name get N/A N/A self order_field_name __max N/A N/A setattr self N/A self order_field_name N/A N/A c None 0 N/A c 1 N/A N/A N/A N/A super OrderedModelBase self save args kwargs N/A delete N/A N/A self N/A args kwargs N/A N/A qs N/A N/A self get_ordering_queryset N/A N/A N/A N/A N/A qs filter N/A N/A N/A self order_field_name __gt N/A getattr self N/A self order_field_name update N/A N/A self order_field_name N/A N/A F N/A self order_field_name 1 N/A N/A N/A N/A super OrderedModelBase self delete args kwargs N/A _move N/A N/A self up qs N/A None N/A N/A qs N/A N/A self get_ordering_queryset qs N/A up N/A N/A qs N/A N/A N/A N/A qs order_by N/A - N/A self order_field_name filter N/A N/A N/A self order_field_name __lt N/A getattr self N/A self order_field_name N/A N/A qs N/A N/A qs filter N/A N/A N/A self order_field_name __gt N/A getattr self N/A self order_field_name N/A N/A N/A replacement N/A qs N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A order replacement_order N/A N/A getattr self N/A self order_field_name N/A getattr replacement N/A self order_field_name N/A N/A setattr self N/A self order_field_name replacement_order N/A N/A setattr replacement N/A self order_field_name order N/A N/A N/A self save N/A N/A N/A replacement save N/A move N/A N/A self direction qs N/A None N/A N/A N/A N/A warnings warn N/A _ The method move() is deprecated and will be removed in the next release. DeprecationWarning N/A N/A direction up N/A N/A N/A N/A self up N/A N/A N/A N/A self down N/A move_down N/A N/A self N/A N/A N/A 
        Move this object down one position.
         N/A N/A N/A warnings warn N/A _ The method move_down() is deprecated and will be removed in the next release. Please use down() instead! DeprecationWarning N/A N/A N/A self down N/A move_up N/A N/A self N/A N/A N/A 
        Move this object up one position.
         N/A N/A N/A warnings warn N/A _ The method move_up() is deprecated and will be removed in the next release. Please use up() instead! DeprecationWarning N/A N/A N/A self up N/A swap N/A N/A self qs N/A N/A N/A 
        Swap the positions of this object with a reference object.
         N/A N/A N/A replacement N/A qs N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A N/A N/A self _valid_ordering_reference replacement N/A N/A N/A ValueError N/A %r can only be swapped with instances of %r with equal %s fields. N/A self N/A self __class__ N/A N/A  and  join N/A N/A N/A '{}' format N/A o N/A 0 N/A o N/A N/A self _get_order_with_respect_to N/A N/A order replacement_order N/A N/A getattr self N/A self order_field_name N/A getattr replacement N/A self order_field_name N/A N/A setattr self N/A self order_field_name replacement_order N/A N/A setattr replacement N/A self order_field_name order N/A N/A N/A self save N/A N/A N/A replacement save N/A up N/A N/A self N/A N/A N/A 
        Move this object up one position.
         N/A N/A N/A self swap N/A N/A N/A N/A N/A N/A self get_ordering_queryset filter N/A N/A N/A self order_field_name __lt N/A getattr self N/A self order_field_name order_by N/A - N/A self order_field_name N/A down N/A N/A self N/A N/A N/A 
        Move this object down one position.
         N/A N/A N/A self swap N/A N/A N/A N/A self get_ordering_queryset filter N/A N/A N/A self order_field_name __gt N/A getattr self N/A self order_field_name N/A to N/A N/A self order N/A N/A N/A 
        Move object to a certain position, updating all affected objects to move accordingly up or down.
         N/A N/A N/A order None N/A N/A getattr self N/A self order_field_name order N/A N/A N/A qs N/A N/A self get_ordering_queryset N/A N/A N/A getattr self N/A self order_field_name order N/A N/A N/A N/A N/A N/A qs filter N/A N/A N/A self order_field_name __lt N/A N/A self order_field_name __gte N/A getattr self N/A self order_field_name order update N/A N/A self order_field_name N/A N/A F N/A self order_field_name 1 N/A N/A N/A N/A N/A N/A qs filter N/A N/A N/A self order_field_name __gt N/A N/A self order_field_name __lte N/A getattr self N/A self order_field_name order update N/A N/A self order_field_name N/A N/A F N/A self order_field_name 1 N/A N/A setattr self N/A self order_field_name order N/A N/A N/A self save N/A above N/A N/A self ref N/A N/A N/A 
        Move this object above the referenced object.
         N/A N/A N/A N/A self _valid_ordering_reference ref N/A N/A N/A ValueError N/A %r can only be swapped with instances of %r with equal %s fields. N/A self N/A self __class__ N/A N/A  and  join N/A N/A N/A '{}' format N/A o N/A 0 N/A o N/A N/A self _get_order_with_respect_to N/A N/A N/A getattr self N/A self order_field_name N/A getattr ref N/A self order_field_name N/A N/A N/A N/A N/A getattr self N/A self order_field_name N/A getattr ref N/A self order_field_name N/A N/A o N/A getattr ref N/A self order_field_name N/A N/A o N/A N/A N/A N/A N/A N/A N/A N/A N/A self get_ordering_queryset filter N/A N/A N/A self order_field_name __lt N/A getattr ref N/A self order_field_name aggregate N/A Max N/A self order_field_name get N/A N/A self order_field_name __max 0 N/A N/A N/A self to o N/A below N/A N/A self ref N/A N/A N/A 
        Move this object below the referenced object.
         N/A N/A N/A N/A self _valid_ordering_reference ref N/A N/A N/A ValueError N/A %r can only be swapped with instances of %r with equal %s fields. N/A self N/A self __class__ N/A N/A  and  join N/A N/A N/A '{}' format N/A o N/A 0 N/A o N/A N/A self _get_order_with_respect_to N/A N/A N/A getattr self N/A self order_field_name N/A getattr ref N/A self order_field_name N/A N/A N/A N/A N/A getattr self N/A self order_field_name N/A getattr ref N/A self order_field_name N/A N/A o N/A N/A N/A N/A N/A N/A N/A N/A N/A self get_ordering_queryset filter N/A N/A N/A self order_field_name __gt N/A getattr ref N/A self order_field_name aggregate N/A Min N/A self order_field_name get N/A N/A self order_field_name __min 0 N/A N/A o N/A getattr ref N/A self order_field_name N/A N/A N/A self to o N/A top N/A N/A self N/A N/A N/A 
        Move this object to the top of the ordered stack.
         N/A o N/A N/A N/A N/A N/A N/A self get_ordering_queryset aggregate N/A Min N/A self order_field_name get N/A N/A self order_field_name __min N/A N/A N/A self to o N/A bottom N/A N/A self N/A N/A N/A 
        Move this object to the bottom of the ordered stack.
         N/A o N/A N/A N/A N/A N/A N/A self get_ordering_queryset aggregate N/A Max N/A self order_field_name get N/A N/A self order_field_name __max N/A N/A N/A self to o N/A N/A OrderedModel N/A OrderedModelBase N/A N/A 
    An abstract model that allows objects to be ordered relative to each other.
    Provides an ``order`` field.
     N/A order N/A N/A models PositiveIntegerField editable False db_index True N/A order_field_name order Meta N/A N/A N/A abstract True N/A ordering N/A order N/A N/A