Projet

Général

Profil

0001-misc-add-support-for-django-1.11-16057.patch

Christophe Siraut, 27 octobre 2017 12:11

Télécharger (1,47 ko)

Voir les différences:

Subject: [PATCH 1/3] misc: add support for django 1.11 (#16057)

Signed-off-by: Christophe Siraut <csiraut@entrouvert.com>
 setup.py          | 2 +-
 tests/settings.py | 1 +
 tox.ini           | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)
setup.py
99 99
    install_requires=[
100 100
        'django>=1.7',
101 101
        'gadjo',
102
        'django-tables2<1.1',
102
        'django-tables2>=1.5',
103 103
        'django-jsonfield >= 0.9.3',
104 104
        'django-filter>1',
105 105
        'djangorestframework>=3.3,<3.4',
tests/settings.py
2 2

  
3 3
DEBUG = False
4 4

  
5
ALLOWED_HOSTS = ['*']
5 6
LANGUAGE_CODE = 'en-US'
6 7

  
7 8
DATABASES = {
tox.ini
1 1
[tox]
2 2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/fargo/
3
envlist = coverage-dj18-sqlite
3
envlist = coverage-dj18-sqlite,coverage-dj111-sqlite
4 4

  
5 5
[testenv]
6 6
usedevelop = True
......
14 14
	coverage: COVERAGE=--cov=fargo --cov-report xml 
15 15
deps =
16 16
	dj18: django>=1.8,<1.9
17
	dj111: django>=1.11,<1.12
17 18
	pytest
18 19
	pytest-cov
19 20
	pytest-random
20
-