mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Updated supported Django versions
This commit is contained in:
parent
37009f2e08
commit
4bafaee8a9
4 changed files with 9 additions and 4 deletions
3
setup.py
3
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -29,3 +29,5 @@ TEMPLATES = [
|
|||
'APP_DIRS': True,
|
||||
},
|
||||
]
|
||||
|
||||
USE_TZ = False
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class MyUser(AbstractBaseUser):
|
|||
USERNAME_FIELD = 'identity'
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
abstract = False
|
||||
app_label = 'testapp'
|
||||
|
||||
|
||||
|
|
|
|||
6
tox.ini
6
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue