mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Fix issue #1176: Prevent Django 3 installation
This commit is contained in:
parent
63d061e9f2
commit
c7c3083e3e
2
setup.py
2
setup.py
@ -16,7 +16,7 @@ install_requires = [
|
|||||||
'celery>=4.0.2,<4.3.0',
|
'celery>=4.0.2,<4.3.0',
|
||||||
'celery_once',
|
'celery_once',
|
||||||
|
|
||||||
'django>=2.0',
|
'django>=2.0,<3.0',
|
||||||
'django-bootstrap-form',
|
'django-bootstrap-form',
|
||||||
'django-registration==2.4',
|
'django-registration==2.4',
|
||||||
'django-sortedm2m',
|
'django-sortedm2m',
|
||||||
|
7
tox.ini
7
tox.ini
@ -1,7 +1,7 @@
|
|||||||
[tox]
|
[tox]
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
envlist = py{34,35,36,37}-dj{111,20}
|
envlist = py{34,35,36,37}-dj{20}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
@ -11,9 +11,8 @@ basepython =
|
|||||||
py35: python3.5
|
py35: python3.5
|
||||||
py36: python3.6
|
py36: python3.6
|
||||||
py37: python3.7
|
py37: python3.7
|
||||||
deps=
|
deps=
|
||||||
dj111: Django>=1.11.1,<2.0
|
dj20: Django>=2.0,<3.0
|
||||||
dj20: Django>=2.0
|
|
||||||
py37: https://github.com/yaml/pyyaml/zipball/master#egg=pyyaml
|
py37: https://github.com/yaml/pyyaml/zipball/master#egg=pyyaml
|
||||||
py37: https://github.com/celery/kombu/zipball/master#egg=kombu
|
py37: https://github.com/celery/kombu/zipball/master#egg=kombu
|
||||||
install_command = pip install -e ".[testing]" -U {opts} {packages}
|
install_command = pip install -e ".[testing]" -U {opts} {packages}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user