Raised when a transition is not allowed.
State slot field.
transition(self, source=None, target=None, label=None, conditions=None, permission=None)¶
Transition method decorator.
CONDITION(is_true: bool, unmet: str = '')¶
Boolean-like object to return value accompanied with a messsage from fsm conditions.
FSM management mixing for django.contrib.admin.ModelAdmin class.
ModelViewSet mixing exposes transition methods.