misc: add support for django 1.11 (#16057)

This commit is contained in:
Frédéric Péters 2017-04-26 18:40:38 +02:00
parent 7ed396892d
commit 0bf5b6b90f
3 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,7 @@ setup(
install_requires=[
'django>=1.7',
'gadjo',
'django-tables2<1.1',
'django-tables2>=1.5',
'django-jsonfield >= 0.9.3',
'django-filter>1',
'djangorestframework>=3.3,<3.4',

View File

@ -2,6 +2,7 @@ import os
DEBUG = False
ALLOWED_HOSTS = ['*']
LANGUAGE_CODE = 'en-US'
DATABASES = {

View File

@ -1,6 +1,6 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/fargo/
envlist = coverage-dj18-sqlite
envlist = coverage-dj18-sqlite,coverage-dj111-sqlite
[testenv]
usedevelop = True
@ -14,6 +14,7 @@ setenv =
coverage: COVERAGE=--cov=fargo --cov-report xml
deps =
dj18: django>=1.8,<1.9
dj111: django>=1.11,<1.12
pytest>=3.3.0
pytest-cov
pytest-random