File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ Unreleased
55~~~~~~~~~~
66
77
8+ django-fsm-2 4.2.2 2026-03-14
9+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10+
11+ - Instantiate ``Transition.conditions `` with an empty ``Iterable `` instead of ``None ``
12+
813django-fsm-2 4.2.1 2026-03-09
914~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1015
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def __init__(
107107 self .source = source
108108 self .target = target
109109 self .on_error = on_error
110- self .conditions = conditions
110+ self .conditions = conditions or []
111111 self .permission = permission
112112 self .custom = custom or {}
113113
Original file line number Diff line number Diff line change 11[project ]
22name = " django-fsm-2"
3- version = " 4.2.1 "
3+ version = " 4.2.2 "
44description = " Django friendly finite state machine support."
55authors = [{ name = " Mikhail Podgurskiy" , email = " kmmbvnr@gmail.com" }]
66requires-python = " >=3.10"
You can’t perform that action at this time.
0 commit comments