Skip to content

Commit 9cb86e0

Browse files
committed
add support for django 5.1
1 parent 829f7ac commit 9cb86e0

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
python-version: "3.12"
1616
cache: 'poetry'
1717
- run: pip install tox
18-
- run: tox -e lint,py312-dj50
18+
- run: tox -e lint,py312-dj51
1919
test_compatibility:
2020
needs: test
2121
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Framework :: Django :: 4.1",
2727
"Framework :: Django :: 4.2",
2828
"Framework :: Django :: 5.0",
29+
"Framework :: Django :: 5.1",
2930
]
3031
packages = [
3132
{ include = "pattern_library" },
@@ -44,7 +45,7 @@ exclude = [
4445

4546
[tool.poetry.dependencies]
4647
python = "^3.8"
47-
Django = ">=3.2,<5.1"
48+
Django = ">=3.2,<5.2"
4849
PyYAML = ">=5.1,<7.0"
4950
Markdown = "^3.1"
5051

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
py{38,39,310}-dj32
44
py{38,39,310,311,312}-dj42
55
py{310,311,312}-dj50
6+
py{310,311,312}-dj51
67
py{310,311,312}-djmain
78
lint
89
skipsdist = true
@@ -20,6 +21,7 @@ deps =
2021
dj32: Django>=3.2,<3.3
2122
dj42: Django>=4.2,<5.0
2223
dj50: Django>=5.0,<5.1
24+
dj51: Django>=5.1,<5.2
2325
djmain: https://github.com/django/django/archive/main.zip
2426

2527
[testenv:lint]

0 commit comments

Comments
 (0)