Updated supported Django versions

This commit is contained in:
David Smith 2021-09-27 18:36:13 +00:00 committed by David Smith
parent 37009f2e08
commit 4bafaee8a9
4 changed files with 9 additions and 4 deletions

View file

@ -31,8 +31,9 @@ setup(
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',

View file

@ -29,3 +29,5 @@ TEMPLATES = [
'APP_DIRS': True,
},
]
USE_TZ = False

View file

@ -37,7 +37,7 @@ class MyUser(AbstractBaseUser):
USERNAME_FIELD = 'identity'
class Meta:
abstract = True
abstract = False
app_label = 'testapp'

View file

@ -1,7 +1,8 @@
[tox]
envlist =
# Python/Django combinations that are officially supported
py{36,37,38,39}-django{22,30,31}
py{36,37,38,39}-django{22,31,32}
py{38,39}-django{40}
py37-{flake8,bandit,readme,docs,isort}
[testenv]
@ -10,8 +11,9 @@ deps =
coverage
pytest-django
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
django40: Django>=4.0a1,<4.1
commands =
coverage run -m pytest