Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias TryExcept body ImportFrom alias identifier FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list handlers ExceptHandler type NameLoad body ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num TupleLoad Num Num body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Continue If BoolOpOr UnaryOpNot NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Pass orelse Expr Call NameLoad ListLoad ListLoad Str Expr Call NameLoad ListLoad ListLoad Str Expr Call NameLoad ListLoad ListLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad orelse If Call NameLoad AttributeLoad NameLoad attr body TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad ListLoad NameLoad Dict body If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Return NameLoad If CompareIn Str AttributeLoad NameLoad attr body Return NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareNotEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Return Call NameLoad Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareIn AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad keyword NameLoad keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Return FunctionDef arguments args NameParam defaults body Return BoolOpAnd BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Str CompareIn AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad For TupleStore NameStore NameStore NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str Pass decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr body Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad ListLoad NameLoad Dict body Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad NameLoad Call NameLoad NameLoad Str NameLoad If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad Str NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list
N/A N/A 
State tracking functionality for django models
 N/A inspect N/A sys N/A warnings functools wraps django.db models django.db.models.signals class_prepared django.utils.functional curry django_fsm.signals pre_transition post_transition N/A N/A django.apps apps django_apps get_model N/A N/A app_label model_name N/A N/A N/A app N/A N/A django_apps get_app_config app_label N/A N/A N/A app get_model model_name N/A N/A N/A N/A ImportError N/A django.db.models.loading get_model N/A __all__ N/A TransitionNotAllowed ConcurrentTransition FSMFieldMixin FSMField FSMIntegerField FSMKeyField ConcurrentTransitionMixin transition can_proceed has_transition_perm N/A N/A N/A N/A sys version_info N/A 2 N/A 2 6 N/A __getmembers N/A N/A object predicate N/A None N/A N/A Return all members of an object as (name, value) pairs sorted by name.
        Optionally, only return members that satisfy a given predicate. N/A results N/A N/A key N/A dir object N/A N/A N/A N/A value N/A getattr object key N/A N/A N/A AttributeError N/A N/A N/A N/A N/A predicate N/A predicate value N/A N/A N/A N/A results append N/A key value N/A N/A N/A results sort N/A results N/A N/A N/A inspect getmembers __getmembers N/A N/A south.modelsinspector add_introspection_rules N/A N/A N/A ImportError N/A N/A N/A N/A N/A add_introspection_rules N/A N/A ^django_fsm\.FSMField N/A N/A add_introspection_rules N/A N/A ^django_fsm\.FSMIntegerField N/A N/A add_introspection_rules N/A N/A ^django_fsm\.FSMKeyField TransitionNotAllowed N/A Exception N/A N/A Raised when a transition is not allowed __init__ N/A N/A self N/A args kwargs N/A N/A N/A self object N/A N/A kwargs pop object None N/A N/A self method N/A N/A kwargs pop method None N/A N/A N/A N/A super TransitionNotAllowed self __init__ args kwargs N/A N/A ConcurrentTransition N/A Exception N/A N/A 
    Raised when the transition cannot be executed because the
    object has become stale (state has been changed since it
    was fetched from the database).
     N/A Transition N/A object N/A __init__ N/A N/A self method source target on_error conditions permission custom N/A N/A N/A N/A self method method N/A N/A self source source N/A N/A self target target N/A N/A self on_error on_error N/A N/A self conditions conditions N/A N/A self permission permission N/A N/A self custom custom N/A name N/A N/A self N/A N/A N/A N/A N/A self method __name__ N/A property has_perm N/A N/A self instance user N/A N/A N/A N/A N/A self permission N/A N/A True N/A N/A N/A callable N/A self permission N/A N/A N/A N/A N/A bool N/A N/A self permission instance user N/A N/A N/A TypeError N/A N/A N/A N/A warnings warn Callable permissions without instance parameter is depricated N/A N/A bool N/A N/A self permission user N/A N/A N/A N/A user has_perm N/A self permission instance N/A N/A True N/A N/A N/A N/A user has_perm N/A self permission N/A N/A True N/A N/A False N/A N/A get_available_FIELD_transitions N/A N/A instance field N/A N/A N/A 
    List of transitions available in current model state
    with all conditions met
     N/A curr_state N/A N/A field get_state instance N/A transitions N/A N/A field transitions N/A N/A instance __class__ N/A N/A name transition N/A N/A transitions items N/A N/A meta N/A transition _django_fsm N/A N/A N/A N/A meta has_transition curr_state N/A N/A meta conditions_met instance curr_state N/A N/A N/A N/A N/A meta get_transition curr_state N/A get_all_FIELD_transitions N/A N/A instance field N/A N/A N/A 
    List of all transitions available in current model state
     N/A N/A N/A field get_all_transitions N/A instance __class__ N/A get_available_user_FIELD_transitions N/A N/A instance user field N/A N/A N/A 
    List of transitions available in current model state
    with all conditions met and user have rights on it
     N/A transition N/A get_available_FIELD_transitions instance field N/A N/A N/A N/A transition has_perm instance user N/A N/A N/A transition N/A FSMMeta N/A object N/A N/A 
    Models methods transitions meta information
     __init__ N/A N/A self field method N/A N/A N/A N/A self field field N/A N/A self transitions N/A N/A get_transition N/A N/A self source N/A N/A N/A transition N/A N/A N/A self transitions get source None N/A N/A transition None N/A N/A transition N/A N/A N/A self transitions get * None N/A N/A transition None N/A N/A transition N/A N/A N/A self transitions get + None N/A transition N/A add_transition N/A N/A self method source target on_error conditions permission custom N/A None N/A None N/A N/A N/A N/A source N/A self transitions N/A N/A N/A AssertionError N/A N/A Duplicate transition for {0} state format source N/A N/A N/A self transitions N/A source N/A Transition method method source source target target on_error on_error conditions conditions permission permission custom custom N/A has_transition N/A N/A self state N/A N/A N/A 
        Lookup if any transition exists from current model state using current method
         N/A N/A state N/A self transitions N/A N/A True N/A N/A * N/A self transitions N/A N/A True N/A N/A N/A + N/A self transitions N/A N/A N/A N/A self transitions N/A + target state N/A N/A True N/A False N/A conditions_met N/A N/A self instance state N/A N/A N/A 
        Check if all conditions have been met
         N/A transition N/A N/A self get_transition state N/A N/A transition None N/A N/A False N/A N/A N/A N/A transition conditions None N/A N/A True N/A N/A N/A all N/A map N/A N/A N/A condition N/A N/A condition instance N/A transition conditions N/A has_transition_perm N/A N/A self instance state user N/A N/A N/A transition N/A N/A self get_transition state N/A N/A transition N/A N/A False N/A N/A N/A N/A transition has_perm instance user N/A next_state N/A N/A self current_state N/A N/A N/A transition N/A N/A self get_transition current_state N/A N/A transition None N/A N/A N/A TransitionNotAllowed N/A N/A No transition from {0} format current_state N/A N/A transition target N/A exception_state N/A N/A self current_state N/A N/A N/A transition N/A N/A self get_transition current_state N/A N/A transition None N/A N/A N/A TransitionNotAllowed N/A N/A No transition from {0} format current_state N/A N/A transition on_error N/A N/A FSMFieldDescriptor N/A object N/A __init__ N/A N/A self field N/A N/A N/A N/A self field field N/A __get__ N/A N/A self instance type N/A None N/A N/A N/A instance None N/A N/A N/A AttributeError Can only be accessed via an instance. N/A N/A N/A N/A self field get_state instance N/A __set__ N/A N/A self instance value N/A N/A N/A N/A N/A N/A self field protected N/A N/A N/A self field name N/A instance __dict__ N/A N/A N/A AttributeError N/A N/A Direct {0} modification is not allowed format N/A N/A self field name N/A N/A N/A N/A self field set_proxy instance value N/A N/A N/A N/A self field set_state instance value N/A N/A FSMFieldMixin N/A object N/A N/A descriptor_class FSMFieldDescriptor __init__ N/A N/A self N/A args kwargs N/A N/A N/A self protected N/A N/A kwargs pop protected False N/A N/A self transitions N/A N/A N/A self state_proxy N/A N/A state_choices N/A N/A kwargs pop state_choices None N/A choices N/A N/A kwargs get choices None N/A N/A N/A state_choices None N/A choices None N/A N/A N/A ValueError Use one of choices or state_choces value N/A N/A state_choices None N/A N/A choices N/A N/A N/A state title proxy_cls_ref state_choices N/A N/A N/A N/A choices append N/A state title N/A N/A N/A self state_proxy N/A state proxy_cls_ref N/A N/A kwargs N/A choices choices N/A N/A N/A N/A super FSMFieldMixin self __init__ args kwargs N/A deconstruct N/A N/A self N/A N/A N/A N/A name path args kwargs N/A N/A N/A super FSMFieldMixin self deconstruct N/A N/A self protected N/A N/A N/A kwargs N/A protected N/A self protected N/A N/A name path args kwargs N/A get_state N/A N/A self instance N/A N/A N/A N/A N/A instance __dict__ N/A N/A self name N/A set_state N/A N/A self instance state N/A N/A N/A N/A N/A instance __dict__ N/A N/A self name state N/A set_proxy N/A N/A self instance state N/A N/A N/A 
        Change class
         N/A N/A state N/A self state_proxy N/A N/A state_proxy N/A N/A self state_proxy N/A state N/A N/A N/A N/A app_label model_name N/A N/A state_proxy split . N/A N/A N/A ValueError N/A N/A app_label N/A N/A instance _meta app_label N/A model_name state_proxy N/A model N/A get_model app_label model_name N/A N/A model None N/A N/A N/A ValueError N/A N/A No model found {0} format state_proxy N/A N/A instance __class__ model N/A change_state N/A N/A self instance method N/A args kwargs N/A N/A meta N/A method _django_fsm N/A method_name N/A method __name__ N/A current_state N/A N/A self get_state instance N/A N/A N/A N/A meta has_transition current_state N/A N/A N/A TransitionNotAllowed N/A N/A Can't switch from state '{0}' using method '{1}' format current_state method_name object instance method method N/A N/A N/A N/A meta conditions_met instance current_state N/A N/A N/A TransitionNotAllowed N/A N/A Transition conditions have not been met for method '{0}' format method_name object instance method method N/A next_state N/A N/A meta next_state current_state N/A signal_kwargs N/A sender instance name source target N/A instance __class__ instance method_name current_state next_state N/A N/A N/A pre_transition send signal_kwargs N/A N/A N/A result N/A method instance args kwargs N/A N/A next_state None N/A N/A N/A N/A self set_proxy instance next_state N/A N/A N/A self set_state instance next_state N/A N/A N/A Exception N/A exc N/A N/A exception_state N/A N/A meta exception_state current_state N/A exception_state N/A N/A N/A N/A self set_proxy instance exception_state N/A N/A N/A self set_state instance exception_state N/A N/A signal_kwargs N/A target exception_state N/A N/A signal_kwargs N/A exception exc N/A N/A N/A post_transition send signal_kwargs N/A N/A N/A N/A N/A post_transition send signal_kwargs N/A result N/A get_all_transitions N/A N/A self instance_cls N/A N/A N/A 
        Returns [(source, target, name, method)] for all field transitions
         N/A transitions N/A N/A self transitions N/A instance_cls N/A N/A name transition N/A N/A transitions items N/A N/A meta N/A transition _django_fsm N/A transition N/A N/A N/A meta transitions values N/A N/A N/A transition N/A contribute_to_class N/A N/A self cls name virtual_only N/A False N/A N/A N/A self base_cls cls N/A N/A N/A N/A super FSMFieldMixin self contribute_to_class cls name virtual_only virtual_only N/A N/A setattr cls N/A self name N/A N/A self descriptor_class self N/A N/A setattr cls N/A N/A get_all_{0}_transitions format N/A self name N/A curry get_all_FIELD_transitions field self N/A N/A setattr cls N/A N/A get_available_{0}_transitions format N/A self name N/A curry get_available_FIELD_transitions field self N/A N/A setattr cls N/A N/A get_available_user_{0}_transitions format N/A self name N/A curry get_available_user_FIELD_transitions field self N/A N/A N/A class_prepared connect N/A self _collect_transitions N/A _collect_transitions N/A N/A self N/A args kwargs N/A N/A sender N/A kwargs N/A sender N/A N/A N/A issubclass sender N/A self base_cls N/A N/A is_field_transition_method N/A N/A attr N/A N/A N/A N/A N/A N/A N/A inspect ismethod attr N/A N/A inspect isfunction attr N/A hasattr attr _django_fsm N/A N/A N/A attr _django_fsm field N/A self N/A self name N/A N/A sender_transitions N/A N/A transitions N/A N/A inspect getmembers sender predicate is_field_transition_method N/A N/A method_name method transitions N/A N/A N/A N/A method _django_fsm field self N/A N/A sender_transitions N/A method_name method N/A N/A N/A self transitions N/A sender sender_transitions N/A N/A FSMField N/A FSMFieldMixin N/A models CharField N/A N/A 
    State Machine support for Django model as CharField
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A kwargs setdefault max_length 50 N/A N/A N/A N/A super FSMField self __init__ args kwargs N/A N/A FSMIntegerField N/A FSMFieldMixin N/A models IntegerField N/A N/A 
    Same as FSMField, but stores the state value in an IntegerField.
     N/A N/A FSMKeyField N/A FSMFieldMixin N/A models ForeignKey N/A N/A 
    State Machine support for Django model
     get_state N/A N/A self instance N/A N/A N/A N/A N/A instance __dict__ N/A N/A self attname N/A set_state N/A N/A self instance state N/A N/A N/A N/A N/A instance __dict__ N/A N/A self attname N/A N/A self to_python state N/A N/A ConcurrentTransitionMixin N/A object N/A N/A 
    Protects a Model from undesirable effects caused by concurrently executed transitions,
    e.g. running the same transition multiple times at the same time, or running different
    transitions with the same SOURCE state at the same time.

    This behavior is achieved using an idea based on optimistic locking. No additional
    version field is required though; only the state field(s) is/are used for the tracking.
    This scheme is not that strict as true *optimistic locking* mechanism, it is however
    more lightweight - leveraging the specifics of FSM models.

    Instance of a model based on this Mixin will be prevented from saving into DB if any
    of its state fields (instances of FSMFieldMixin) has been changed since the object
    was fetched from the database. *ConcurrentTransition* exception will be raised in such
    cases.

    For guaranteed protection against such race conditions, make sure:
    * Your transitions do not have any side effects except for changes in the database,
    * You always run the save() method on the object within django.db.transaction.atomic()
    block.

    Following these recommendations, you can rely on ConcurrentTransitionMixin to cause
    a rollback of all the changes that have been executed in an inconsistent (out of sync)
    state, thus practically negating their effect.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super ConcurrentTransitionMixin self __init__ args kwargs N/A N/A N/A self _update_initial_state N/A state_fields N/A N/A self N/A N/A N/A N/A filter N/A N/A N/A field N/A N/A isinstance field FSMFieldMixin N/A N/A self _meta fields N/A property _do_update N/A N/A self base_qs using pk_val values update_fields forced_update N/A N/A N/A filter_on N/A filter N/A N/A N/A field N/A N/A N/A field model N/A base_qs model N/A self state_fields N/A state_filter N/A dict N/A N/A N/A field attname N/A N/A self __initial_states N/A N/A field attname N/A field filter_on N/A updated N/A N/A N/A super ConcurrentTransitionMixin self _do_update base_qs N/A N/A base_qs filter state_filter using using pk_val pk_val values values update_fields update_fields forced_update forced_update N/A N/A N/A updated N/A N/A N/A N/A base_qs filter pk pk_val exists N/A N/A N/A ConcurrentTransition Cannot save object! The state has been changed since fetched from the database! N/A updated N/A _update_initial_state N/A N/A self N/A N/A N/A N/A self __initial_states N/A dict N/A N/A N/A field attname N/A N/A field value_from_object self N/A field N/A self state_fields N/A save N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super ConcurrentTransitionMixin self save args kwargs N/A N/A N/A self _update_initial_state N/A N/A transition N/A N/A field source target on_error conditions permission custom N/A * None None N/A None N/A N/A N/A 
    Method decorator for mark allowed transitions

    Set target to None if current state needs to be validated and
    has not changed after the function call
     inner_transition N/A N/A func N/A N/A N/A N/A wrapper_installed fsm_meta N/A True N/A getattr func _django_fsm None N/A N/A fsm_meta N/A N/A wrapper_installed False N/A fsm_meta N/A FSMMeta field field method func N/A N/A setattr func _django_fsm fsm_meta N/A N/A isinstance source N/A list tuple N/A N/A state source N/A N/A N/A N/A N/A func _django_fsm add_transition func state target on_error conditions permission custom N/A N/A N/A N/A N/A func _django_fsm add_transition func source target on_error conditions permission custom _change_state N/A N/A instance N/A args kwargs N/A N/A N/A N/A N/A fsm_meta field change_state instance func args kwargs N/A N/A wraps func N/A N/A wrapper_installed N/A N/A _change_state N/A func N/A N/A inner_transition N/A can_proceed N/A N/A bound_method check_conditions N/A True N/A N/A 
    Returns True if model in state allows to call bound_method

    Set ``check_conditions`` argument to ``False`` to skip checking
    conditions.
     N/A N/A N/A hasattr bound_method _django_fsm N/A N/A N/A TypeError N/A %s method is not transition N/A N/A bound_method im_func __name__ N/A meta N/A bound_method _django_fsm N/A im_self N/A getattr bound_method im_self N/A getattr bound_method __self__ N/A current_state N/A N/A N/A meta field get_state im_self N/A N/A N/A N/A meta has_transition current_state N/A N/A check_conditions N/A N/A meta conditions_met im_self current_state N/A has_transition_perm N/A N/A bound_method user N/A N/A N/A 
    Returns True if model in state allows to call bound_method and user have rights on it
     N/A N/A N/A hasattr bound_method _django_fsm N/A N/A N/A TypeError N/A %s method is not transition N/A N/A bound_method im_func __name__ N/A meta N/A bound_method _django_fsm N/A im_self N/A getattr bound_method im_self N/A getattr bound_method __self__ N/A current_state N/A N/A N/A meta field get_state im_self N/A N/A N/A N/A meta has_transition current_state N/A N/A meta conditions_met im_self current_state N/A N/A meta has_transition_perm im_self current_state user N/A