Django-fsm

Latest version: v3.0.0

Safety actively analyzes 630450 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

2.6.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Fix django 1.11 compatibility
- Fix TypeError in `graph_transitions` command when using django's lazy translations

2.5.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- graph_transition command fix for django 1.10
- graph_transition command supports GET_STATE targets
- signal data extended with method args/kwargs and field
- sets allowed to be passed to the transition decorator

2.4.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- graph_transition commnad now works with multiple FSM's per model
- Add ability to set target state from transition return value or callable

2.3.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Add source state shortcut '+' to specify transitions from all states except the target
- Add object-level permission checks
- Fix translated labels for graph of FSMIntegerField
- Fix multiple signals for several transition decorators

2.2.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Improved exception message for unmet transition conditions.
- Don't send post transition signal in case of no state changes on
exception
- Allow empty string as correct state value
- Improved graphviz fsm visualisation
- Clean django 1.8 warnings

2.2.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Support for `class
substitution <http://schinckel.net/2013/06/13/django-proxy-model-state-machine/>`__
to proxy classes depending on the state
- Added ConcurrentTransitionMixin with optimistic locking support
- Default db\_index=True for FSMIntegerField removed
- Graph transition code migrated to new graphviz library with python 3
support
- Ability to change state on transition exception

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.