Skip to content

Commit

Permalink
Add explicit support for Django 4.2 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
camuthig authored May 11, 2024
1 parent 35679a7 commit 5753973
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
[
(python, django)
for python in ("3.7", "3.8", "3.9", "3.10", "3.11")
for django in ("3.2", "4.0", "4.1")
if (python, django) not in [("3.7", "4.0"), ("3.7", "4.1")]
for django in ("3.2", "4.0", "4.1", "4.2")
if (python, django) not in [("3.7", "4.0"), ("3.7", "4.1"), ("3.7", "4.2")]
],
)
def tests(session, django):
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
]

[tool.poetry.dependencies]
python = ">= 3.7, < 3.12"
django = [
{version = "~3.2", python = "3.7"},
{version = ">= 3.2, < 4.2", python = ">= 3.8"},
{version = ">= 3.2, < 5.0", python = ">= 3.8"},
]

djangorestframework = { version = "^3.11", optional = true }
Expand Down

0 comments on commit 5753973

Please sign in to comment.