Skip to content

Commit d90bb34

Browse files
authored
Update django support (#968)
* Remove support for Django 3.0. * Add support for Django 3.2 * Add supported Python and Django badges. * Added my name to AUTHORS.
1 parent e5ecd56 commit d90bb34

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Dylan Giesler
2828
Emanuele Palazzetti
2929
Federico Dolce
3030
Frederico Vieira
31+
Hasan Ramezani
3132
Hiroki Kiyohara
3233
Jens Timmerman
3334
Jerome Leclanche

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
-->
1616

1717
## [unreleased]
18+
* Remove support for Django 3.0
19+
* Add support for Django 3.2
1820

1921
### Added
2022
* #712, #636, #808. Calls to `django.contrib.auth.authenticate()` now pass a `request`

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Django OAuth Toolkit
1818
:target: https://codecov.io/gh/jazzband/django-oauth-toolkit
1919
:alt: Coverage
2020

21+
.. image:: https://img.shields.io/pypi/pyversions/django-oauth-toolkit.svg
22+
:target: https://pypi.org/project/django-oauth-toolkit/
23+
:alt: Supported Python versions
24+
25+
.. image:: https://img.shields.io/pypi/djversions/django-oauth-toolkit.svg
26+
:target: https://pypi.org/project/django-oauth-toolkit/
27+
:alt: Supported Django versions
28+
2129
If you are facing one or more of the following:
2230
* Your Django app exposes a web API you want to protect with OAuth2 authentication,
2331
* You need to implement an OAuth2 authorization server to provide tokens management for your infrastructure,
@@ -42,7 +50,7 @@ Requirements
4250
------------
4351

4452
* Python 3.6+
45-
* Django 2.1+
53+
* Django 2.2+
4654
* oauthlib 3.1+
4755

4856
Installation

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ classifiers =
1313
Environment :: Web Environment
1414
Framework :: Django
1515
Framework :: Django :: 2.2
16-
Framework :: Django :: 3.0
1716
Framework :: Django :: 3.1
17+
Framework :: Django :: 3.2
1818
Intended Audience :: Developers
1919
License :: OSI Approved :: BSD License
2020
Operating System :: OS Independent

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
envlist =
33
flake8,
44
docs,
5-
py{36,37,38,39}-dj{31,30,22},
5+
py{36,37,38,39}-dj{32,31,22},
66
py{38,39}-djmain,
77

88
[gh-actions]
@@ -33,8 +33,8 @@ setenv =
3333
PYTHONWARNINGS = all
3434
deps =
3535
dj22: Django>=2.2,<3
36-
dj30: Django>=3.0,<3.1
3736
dj31: Django>=3.1,<3.2
37+
dj32: Django>=3.2,<3.3
3838
djmain: https://github.com/django/django/archive/main.tar.gz
3939
djangorestframework
4040
oauthlib>=3.1.0

0 commit comments

Comments
 (0)