Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1182281

Browse files
authored
Add support for Django 4.2 (#1142)
* Add support for Django 4.2 * Don't use deprecated password hashing implementation The tests run pretty quickly regardless, so it should be okay to use the default password hasher. * Reinstate tests for Django 4.1
1 parent 3b9661e commit 1182281

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ any parts of the framework not mentioned in the documentation should generally b
1313
### Added
1414

1515
* Added support for Python 3.11.
16+
* Added support for Django 4.2.
1617

1718
### Changed
1819

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Requirements
9393
------------
9494

9595
1. Python (3.7, 3.8, 3.9, 3.10, 3.11)
96-
2. Django (3.2, 4.0, 4.1)
96+
2. Django (3.2, 4.0, 4.1, 4.2)
9797
3. Django REST framework (3.13, 3.14)
9898

9999
We **highly** recommend and only officially support the latest patch release of each Python, Django and REST framework series.

‎docs/getting-started.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ like the following:
5252
## Requirements
5353

5454
1. Python (3.7, 3.8, 3.9, 3.10, 3.11)
55-
2. Django (3.2, 4.0, 4.1)
55+
2. Django (3.2, 4.0, 4.1, 4.2)
5656
3. Django REST framework (3.13, 3.14)
5757

5858
We **highly** recommend and only officially support the latest patch release of each Python, Django and REST framework series.

‎example/settings/dev.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060

6161
SECRET_KEY = "abc123"
6262

63-
PASSWORD_HASHERS = ("django.contrib.auth.hashers.UnsaltedMD5PasswordHasher",)
64-
6563
INTERNAL_IPS = ("127.0.0.1",)
6664

6765
JSON_API_FORMAT_FIELD_NAMES = "camelize"

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def get_package_data(package):
9898
install_requires=[
9999
"inflection>=0.5.0",
100100
"djangorestframework>=3.13,<3.15",
101-
"django>=3.2,<4.2",
101+
"django>=3.2,<4.3",
102102
],
103103
extras_require={
104104
"django-polymorphic": ["django-polymorphic>=3.0"],

‎tox.ini‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
py{37,38,39,310}-django32-drf{313,314,master},
44
py{38,39,310}-django40-drf{313,314,master},
55
py{38,39,310,311}-django41-drf{314,master},
6+
py{38,39,310,311}-django42-drf{314,master},
67
black,
78
docs,
89
lint
@@ -12,6 +13,7 @@ deps =
1213
django32: Django>=3.2,<3.3
1314
django40: Django>=4.0,<4.1
1415
django41: Django>=4.1,<4.2
16+
django42: Django>=4.2,<4.3
1517
drf313: djangorestframework>=3.13,<3.14
1618
drf314: djangorestframework>=3.14,<3.15
1719
drfmaster: https://github.com/encode/django-rest-framework/archive/master.zip
@@ -56,3 +58,6 @@ ignore_outcome = true
5658

5759
[testenv:py{38,39,310,311}-django41-drfmaster]
5860
ignore_outcome = true
61+
62+
[testenv:py{38,39,310,311}-django42-drfmaster]
63+
ignore_outcome = true

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /