File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage)
17
17
## 4.0.0 (not released)
18
18
19
19
- remove support for django 2.2 & 4.0
20
+ - remote support for python 3.7 & 3.8
21
+ - add support for django 5.1 and python 3.13
22
+ - Switch to django-fsm-2
20
23
21
24
## 3.1.0 (2023-03-23)
22
25
@@ -184,7 +187,7 @@ article.submit(description="Article reviewed and submitted") # logged with "Art
184
187
```
185
188
186
189
.. TIP::
187
- The "description" argument passed when calling ".submit" has precedence over the default description set in the decorator
190
+ The "description" argument passed when calling ".submit" has precedence over the default description set in the decorator
188
191
189
192
The decorator also accepts a ` allow_inline ` boolean argument that allows to set the description inside the transition method.
190
193
@@ -240,7 +243,7 @@ is fired.
240
243
This is useful if:
241
244
242
245
- you need immediate access to StateLog details, and cannot wait until ` django_fsm.signals.post_transition `
243
- has been fired
246
+ has been fired
244
247
- at any stage, you need to verify whether or not the StateLog has been written to the database
245
248
246
249
Access to the pending StateLog record is available via the ` pending_objects ` manager
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
envlist =
3
- py{38,39,310,311}-dj-4.2
4
- py{310,311,312}-5.0
5
- py{310,311,312}-dj-master
3
+ py{39,310,311}-dj-4.2
4
+ py{310,311,312,313}-5.0
5
+ py{310,311,312,313}-5.1
6
+ py{310,311,312,313}-dj-master
6
7
7
8
[gh-actions]
8
9
python =
9
- 3.8: py38
10
10
3.9: py39
11
11
3.10: py310
12
12
3.11: py311
13
13
3.12: py312
14
+ 3.13: py313
14
15
15
16
[testenv]
16
17
usedevelop = true
@@ -22,4 +23,5 @@ setenv=
22
23
deps =
23
24
dj-4.2: Django>=4.2,<5
24
25
dj-5.0: Django>=5,<5.1
26
+ dj-5.1: Django>=5.1,<5.2
25
27
dj-master: https://github.com/django/django/archive/master.tar.gz
You can’t perform that action at this time.
0 commit comments