Skip to content

Commit f8b3f38

Browse files
authored
Update supported versions for 3.14 release (#8662)
* Update supported versions for 3.14 release * Fix up test case for Django 3.0
1 parent b658915 commit f8b3f38

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ There is a live example API for testing purposes, [available here][sandbox].
5454

5555
# Requirements
5656

57-
* Python (3.6, 3.7, 3.8, 3.9, 3.10)
58-
* Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1)
57+
* Python 3.6+
58+
* Django 4.1, 4.0, 3.2, 3.1, 3.0
5959

6060
We **highly recommend** and only officially support the latest patch release of
6161
each Python and Django series.

docs/community/3.14-announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The latest release now fully supports Django 4.1.
2626
Our requirements are now:
2727

2828
* Python 3.6+
29-
* Django 4.1, 4.0, 3.2, 3.1, 2.2 (LTS)
29+
* Django 4.1, 4.0, 3.2, 3.1, 3.0
3030

3131
## `raise_exceptions` argument for `is_valid` is now keyword-only.
3232

tests/authentication/test_authentication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def test_post_form_session_auth_passing_csrf(self):
219219
Ensure POSTing form over session authentication with CSRF token succeeds.
220220
Regression test for #6088
221221
"""
222-
# Remove this shim when dropping support for Django 2.2.
223-
if django.VERSION < (3, 0):
222+
# Remove this shim when dropping support for Django 3.0.
223+
if django.VERSION < (3, 1):
224224
from django.middleware.csrf import _get_new_csrf_token
225225
else:
226226
from django.middleware.csrf import (

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
22
envlist =
3-
{py36,py37,py38,py39}-django22,
3+
{py36,py37,py38,py39}-django30,
44
{py36,py37,py38,py39}-django31,
55
{py36,py37,py38,py39,py310}-django32,
66
{py38,py39,py310}-{django40,django41,djangomain},
77
base,dist,docs,
88

99
[travis:env]
1010
DJANGO =
11-
2.2: django22
11+
3.0: django30
1212
3.1: django31
1313
3.2: django32
1414
4.0: django40
@@ -22,7 +22,7 @@ setenv =
2222
PYTHONDONTWRITEBYTECODE=1
2323
PYTHONWARNINGS=once
2424
deps =
25-
django22: Django>=2.2,<3.0
25+
django30: Django>=3.0,<3.1
2626
django31: Django>=3.1,<3.2
2727
django32: Django>=3.2,<4.0
2828
django40: Django>=4.0,<4.1

0 commit comments

Comments
 (0)