class viewflow.fsm.TransitionNotAllowed

Raised when a transition is not allowed.

class viewflow.fsm.State(states, default=None)

State slot field.

@transition(self, source=None, target=None, label=None, conditions=None, permission=None)

Transition method decorator.

class CONDITION(is_true: bool, unmet: str = '')

Boolean-like object to return value accompanied with a messsage from fsm conditions.

class viewflow.fsm.FlowAdminMixin

FSM management mixing for django.contrib.admin.ModelAdmin class.

class viewflow.fsm.FlowRESTMixin

ModelViewSet mixing exposes transition methods.

viewflow.fsm.chart(flow_state: viewflow.fsm.base.StateDescriptor)