Pin django version in tox docs

This commit is contained in:
Iacopo Spalletti 2017-12-31 13:56:23 +01:00
parent 51fd5a58d7
commit a66371fc92
No known key found for this signature in database
GPG Key ID: BDCBC2EB289F60C6
3 changed files with 7 additions and 5 deletions

View File

@ -20,8 +20,9 @@ import shlex
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../tests'))
parent = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
sys.path.insert(0, parent)
sys.path.insert(0, os.path.join(parent, 'tests'))
import cms_helper
import djangocms_blog

3
requirements-docs.txt Normal file
View File

@ -0,0 +1,3 @@
-r requirements-test.txt
Django<2.0
html5lib<0.99999999

View File

@ -47,9 +47,7 @@ skip_install = true
deps =
sphinx
sphinx-rtd-theme
html5lib<0.99999999
Django>=1.9,<1.10
-rrequirements-test.txt
-rrequirements-docs.txt
changedir=docs
skip_install = true
commands=