Skip to content

Commit

Permalink
support for django 5 (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulocoutinhox authored Aug 29, 2024
1 parent 7b449ec commit 8cd3bcb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.1', '4.2', 'main']
django-version: ['3.2', '4.1', '4.2', '5.0', '5.1', 'main']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ v3.0.0
- Fixed PayPal backends not saving captured_amount when processing data.
- Fixed ``base_payment.refund()`` not making any refund
- PayPal backends now perform a full refund if ``amount=None``.
- Added support for Django 5.0.
- Added support for Django 5.1.

v2.0.0
------
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist =
py{38,39}-dj32
py{38,39,310,311}-dj{41,42}
py{311,312}-dj{50,51}
py{310,311,312}-djmain
skip_missing_interpreters = true

Expand All @@ -15,6 +16,8 @@ deps=
dj32: Django>=3.2,<3.3
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
extras=
braintree
Expand Down Expand Up @@ -48,6 +51,8 @@ DJANGO =
3.2: dj32
4.1: dj41
4.2: dj42
5.0: dj50
5.1: dj51
main: djmain

[testenv:docs]
Expand Down

0 comments on commit 8cd3bcb

Please sign in to comment.