Skip to content

Drop support for Django 3.2 #1219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ any parts of the framework not mentioned in the documentation should generally b
### Removed

* Removed support for Python 3.7.
* Removed support for Django 3.2.
* Removed support for Django 4.0.
* Removed support for Django 4.1.
* Removed support for Django REST framework 3.13.
* Removed obsolete compat `NullBooleanField` and `get_reference` definitions.

## [6.1.0] - 2023-08-25

This is the last release supporting Python 3.7, Django 4.0, Django 4.1 and Django REST framework 3.13.
This is the last release supporting Python 3.7, Django 3.2, Django 4.0, Django 4.1 and Django REST framework 3.13.

### Added

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Requirements
------------

1. Python (3.8, 3.9, 3.10, 3.11, 3.12)
2. Django (3.2, 4.2, 5.0)
2. Django (4.2, 5.0)
3. Django REST framework (3.14, 3.15)

We **highly** recommend and only officially support the latest patch release of each Python, Django and REST framework series.
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ like the following:
## Requirements

1. Python (3.8, 3.9, 3.10, 3.11, 3.12)
2. Django (3.2, 4.2, 5.0)
2. Django (4.2, 5.0)
3. Django REST framework (3.14, 3.15)

We **highly** recommend and only officially support the latest patch release of each Python, Django and REST framework series.
Expand Down
6 changes: 3 additions & 3 deletions example/urls_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.urls import re_path
from django.urls import path, re_path
from rest_framework import routers

from .api.resources.identity import GenericIdentity, Identity
Expand Down Expand Up @@ -46,8 +46,8 @@

urlpatterns = [
# old tests
re_path(
r"identities/default/(?P<pk>\d+)$",
path(
"identities/default/<int:pk>",
GenericIdentity.as_view(),
name="user-default",
),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get_package_data(package):
install_requires=[
"inflection>=0.5.0",
"djangorestframework>=3.14",
"django>=3.2",
"django>=4.2",
],
extras_require={
"django-polymorphic": ["django-polymorphic>=3.0"],
Expand Down
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tox]
envlist =
py{38,39,310}-django32-drf{314,315,master},
py{38,39,310,311,312}-django42-drf{314,315,master},
py{310,311,312}-django50-drf{314,315,master},
black,
Expand All @@ -9,7 +8,6 @@ envlist =

[testenv]
deps =
django32: Django>=3.2,<3.3
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
drf314: djangorestframework>=3.14,<3.15
Expand Down Expand Up @@ -48,9 +46,6 @@ deps =
commands =
sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html

[testenv:py{38,39,310}-django32-drfmaster]
ignore_outcome = true

[testenv:py{38,39,310,311,312}-django42-drfmaster]
ignore_outcome = true

Expand Down
Loading