Fix py27dj18 definition
py27dj18 currently uses Django 1.10 (from upper-constraints.txt).
The Django version should be specified explicitly.
@@ -21,7 +21,6 @@ commands =
horizon: {envpython} {toxinidir}/manage.py test --settings=horizon.test.settings {posargs}
manage: {envpython} {toxinidir}/manage.py {posargs}
py27: {[unit_tests]commands}
- py27dj18: {[unit_tests]commands}
py35: {[unit_tests]commands}
openstack_dashboard: {envpython} {toxinidir}/manage.py test --settings=openstack_dashboard.test.settings {posargs}
releasenotes: sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
@@ -34,6 +33,11 @@ setenv =
{[testenv]setenv}
commands = {[unit_tests]commands}
+[testenv:py27dj18]
+commands =
+ pip install -U django>=1.8,<1.9
+ {[unit_tests]commands}
+
[testenv:py27dj19]
commands =
pip install -U django>=1.9,<1.10
