Skip to content

Commit

Permalink
Add Django 3.2 support (#908)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Sauder <sliverc@users.noreply.github.com>
  • Loading branch information
Tenzer and sliverc authored Apr 7, 2021
1 parent 0892e3a commit 51daed1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
django: ["2.2", "3.0", "3.1"]
django: ["2.2", "3.0", "3.1", "3.2"]
django-rest-framework: ["3.12", "master"]
env:
PYTHON: ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Felix Viernickel <felix@gedankenspieler.org>
Greg Aker <greg@gregaker.net>
Jamie Bliss <astronouth7303@gmail.com>
Jason Housley <housleyjk@gmail.com>
Jeppe Fihl-Pearson <jeppe@tenzer.dk>
Jerel Unruh <mail@unruhdesigns.com>
Jonathan Senecal <contact@jonathansenecal.com>
Joseba Mendivil <git@jma.email>
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Note that in line with [Django REST Framework policy](http://www.django-rest-framework.org/topics/release-notes/),
any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change.

## [Unreleased]

### Added

* Added support for Django 3.2.

## [4.1.0] - 2021-03-08

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

1. Python (3.6, 3.7, 3.8, 3.9)
2. Django (2.2, 3.0, 3.1)
2. Django (2.2, 3.0, 3.1, 3.2)
3. Django REST Framework (3.12)

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.6, 3.7, 3.8, 3.9)
2. Django (2.2, 3.0, 3.1)
2. Django (2.2, 3.0, 3.1, 3.2)
3. Django REST Framework (3.12)

We **highly** recommend and only officially support the latest patch release of each Python, Django and REST Framework series.
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ DJANGO_SETTINGS_MODULE=example.settings.test
filterwarnings =
error::DeprecationWarning
error::PendingDeprecationWarning
# Django Debug Toolbar currently (2021-04-07) specifies default_app_config which is deprecated in Django 3.2:
ignore:'debug_toolbar' defines default_app_config = 'debug_toolbar.apps.DebugToolbarConfig'. Django now detects this configuration automatically. You can remove default_app_config.:PendingDeprecationWarning
testpaths =
example
tests
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_package_data(package):
install_requires=[
"inflection>=0.3.0",
"djangorestframework>=3.12,<3.13",
"django>=2.2,<3.2",
"django>=2.2,<3.3",
],
extras_require={
"django-polymorphic": ["django-polymorphic>=2.0"],
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{36,37,38,39}-django{22,30,31}-drf{312,master},
py{36,37,38,39}-django{22,30,31,32}-drf{312,master},
lint,docs

[gh-actions]
Expand All @@ -15,6 +15,7 @@ DJANGO =
2.2: django22
3.0: django30
3.1: django31
3.2: django32

DJANGO_REST_FRAMEWORK =
3.12: drf312
Expand All @@ -25,6 +26,7 @@ deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
drf312: djangorestframework>=3.12,<3.13
drfmaster: https://github.com/encode/django-rest-framework/archive/master.zip
-rrequirements/requirements-testing.txt
Expand Down

0 comments on commit 51daed1

Please sign in to comment.