Fix django-oauth-toolkit python version dependency

django-oauth-toolkit 1.1 is the last version to support Python 2.7/Django 1.11

Source: https://github.com/jazzband/django-oauth-toolkit/issues/579
This commit is contained in:
Cristi Vîjdea
2018-12-21 01:31:05 +02:00
parent b385228f7d
commit 85db6c9d79
4 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -8,4 +8,5 @@ djangorestframework-camel-case>=0.2.0
djangorestframework-recursive>=0.1.2
dj-database-url>=0.4.2
user_agents>=1.1.0
django-oauth-toolkit>=1.2.0
django-oauth-toolkit>=1.1.0,<1.2.0; python_version == "2.7"
django-oauth-toolkit>=1.2.0; python_version >= "3.4"