From 122f2f5678cfe723a44c140206da2cb9117b46ee Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 20 Aug 2021 12:17:33 +0200 Subject: [PATCH] Support for Django 3.2 --- cas_provider_examples/simple/settings.py | 3 +++ setup.py | 2 +- tox.ini | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cas_provider_examples/simple/settings.py b/cas_provider_examples/simple/settings.py index 8cf53ed..e594559 100644 --- a/cas_provider_examples/simple/settings.py +++ b/cas_provider_examples/simple/settings.py @@ -154,3 +154,6 @@ LOGGING = { }, } } + + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' diff --git a/setup.py b/setup.py index 3372d35..b895eca 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( long_description=read('README.rst'), zip_safe=False, install_requires=[ - 'Django>=1.10,<3.2', + 'Django>=1.10,<4.0', 'lxml', ], classifiers = [ diff --git a/tox.ini b/tox.ini index 9dc49ee..d09ada8 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist=clear, d20-py{35,36,37}, d21-py{35,36,37}, d22-py{35,36,37,38,39} - d{30,31}-py{36,37,38,39} + d{30,31,32}-py{36,37,38,39} stats [testenv] @@ -19,6 +19,7 @@ deps= d22: Django>=2.2,<3.0 d30: Django>=3.0,<3.1 d31: Django>=3.1,<3.2 + d32: Django>=3.2,<4.0 coverage usedevelop=True -- 2.20.1