Skip to content

Commit a8ec7a6

Browse files
committed
Support Django 5.0
1 parent 3ceb965 commit a8ec7a6

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

docs/changes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Pending
1010
content.
1111
* Fixed template panel to avoid evaluating ``LazyObject`` when not already
1212
evaluated.
13+
* Added support for Django 5.0.
1314

1415
4.2.0 (2023-08-10)
1516
------------------

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Framework :: Django :: 4.0",
2222
"Framework :: Django :: 4.1",
2323
"Framework :: Django :: 4.2",
24+
"Framework :: Django :: 5.0",
2425
"Intended Audience :: Developers",
2526
"License :: OSI Approved :: BSD License",
2627
"Operating System :: OS Independent",

tox.ini

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ envlist =
66
py{38,39,310}-dj32-{sqlite,postgresql,postgis,mysql}
77
py310-dj40-sqlite
88
py{310,311}-dj41-{sqlite,postgresql,postgis,mysql}
9-
py{310,311}-dj{42,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
9+
py{310,311}-dj{42,50,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
1010

1111
[testenv]
1212
deps =
1313
dj32: django~=3.2.9
1414
dj40: django~=4.0.0
1515
dj41: django~=4.1.3
1616
dj42: django~=4.2.1
17+
dj50: django~=5.0a1
1718
djmain: https://github.com/django/django/archive/main.tar.gz
1819
postgresql: psycopg2-binary
1920
psycopg3: psycopg[binary]
@@ -49,25 +50,25 @@ allowlist_externals = make
4950
pip_pre = True
5051
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
5152

52-
[testenv:py{38,39,310,311}-dj{32,40,41,42,main}-{postgresql,psycopg3}]
53+
[testenv:py{38,39,310,311}-dj{32,40,41,42,50,main}-{postgresql,psycopg3}]
5354
setenv =
5455
{[testenv]setenv}
5556
DB_BACKEND = postgresql
5657
DB_PORT = {env:DB_PORT:5432}
5758

58-
[testenv:py{38,39,310,311}-dj{32,40,41,42,main}-postgis]
59+
[testenv:py{38,39,310,311}-dj{32,40,41,42,50,main}-postgis]
5960
setenv =
6061
{[testenv]setenv}
6162
DB_BACKEND = postgis
6263
DB_PORT = {env:DB_PORT:5432}
6364

64-
[testenv:py{38,39,310,311}-dj{32,40,41,42,main}-mysql]
65+
[testenv:py{38,39,310,311}-dj{32,40,41,42,50,main}-mysql]
6566
setenv =
6667
{[testenv]setenv}
6768
DB_BACKEND = mysql
6869
DB_PORT = {env:DB_PORT:3306}
6970

70-
[testenv:py{38,39,310,311}-dj{32,40,41,42,main}-sqlite]
71+
[testenv:py{38,39,310,311}-dj{32,40,41,42,50,main}-sqlite]
7172
setenv =
7273
{[testenv]setenv}
7374
DB_BACKEND = sqlite3

0 commit comments

Comments
 (0)