Skip to content

Commit cef3c54

Browse files
adamchainzgeorgek
authored andcommitted
Add Django 4.1 support
1 parent 40fc72d commit cef3c54

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
max-parallel: 5
1212
matrix:
1313
python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.10']
14-
django-version: ['2.2', '3.2', '4.0']
14+
django-version: ['2.2', '3.2', '4.0', '4.1']
1515
include:
1616
# Tox configuration for QA environment
1717
- python-version: '3.10'
@@ -27,6 +27,9 @@ jobs:
2727
# Exclude Django 4.0 for Python 3.7
2828
- python-version: '3.7'
2929
django-version: '4.0'
30+
# Exclude Django 4.1 for Python 3.7
31+
- python-version: '3.7'
32+
django-version: '4.1'
3033
# Exclude Django 2.2 for Python 3.10
3134
- python-version: '3.10'
3235
django-version: '2.2'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"Framework :: Django :: 2.2",
2222
"Framework :: Django :: 3.2",
2323
"Framework :: Django :: 4.0",
24+
"Framework :: Django :: 4.1",
2425
"Intended Audience :: Developers",
2526
"License :: OSI Approved :: MIT License",
2627
"Programming Language :: Python",

tests/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
]
88

99
SECRET_KEY = "spam-eggs"
10+
11+
USE_TZ = True

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
py{37,38,39,py3}-dj22
44
py{37,38,39,310,py3}-dj32
55
py{38,39,310,py3}-dj40
6+
py{38,39,310,py3}-dj41
67
py{310,py3}-djmain
78
py310-djqa
89

@@ -19,6 +20,7 @@ DJANGO =
1920
2.2: dj22
2021
3.2: dj32
2122
4.0: dj40
23+
4.1: dj41
2224
main: djmain
2325
qa: djqa
2426

@@ -28,6 +30,7 @@ deps =
2830
dj22: django>=2.2,<2.3
2931
dj32: django>=3.2,<3.3
3032
dj40: django>=4.0,<4.1
33+
dj41: django>=4.1,<4.2
3134
djmain: https://github.com/django/django/archive/main.tar.gz
3235
usedevelop = True
3336
setenv =

0 commit comments

Comments
 (0)