Skip to content

Commit

Permalink
Add compatibility for Django 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Dec 6, 2022
1 parent f8e3b8c commit a81b56d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ workflows:
- test-3.8-31
- test-3.8-32
- test-3.8-40
- test-3.8-41

- test-3.9-22
- test-3.9-30
- test-3.9-31
- test-3.9-32
- test-3.9-40
- test-3.9-41

- done:
requires:
Expand All @@ -42,12 +44,14 @@ workflows:
- test-3.8-31
- test-3.8-32
- test-3.8-40
- test-3.8-41

- test-3.9-22
- test-3.9-30
- test-3.9-31
- test-3.9-32
- test-3.9-40
- test-3.9-41

jobs:
base: &test-template
Expand Down Expand Up @@ -178,6 +182,12 @@ jobs:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "40"
test-3.8-41:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "41"

test-3.9-22:
<<: *test-template
Expand Down Expand Up @@ -209,6 +219,12 @@ jobs:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "40"
test-3.9-41:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "41"

done:
docker:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def rel(*parts):
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
],
Expand Down
1 change: 1 addition & 0 deletions tests/requirements/django41.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
django>=4.1,<4.2

0 comments on commit a81b56d

Please sign in to comment.