Skip to content

Commit 2a25692

Browse files
Django 2.2 support
1 parent cba7156 commit 2a25692

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
- DJANGO_VERSION=1.9.x
1212
- DJANGO_VERSION=1.10.x
1313
- DJANGO_VERSION=1.11.x
14+
- DJANGO_VERSION=2.2.x
1415
install:
1516
- pip install tox
1617
script:
@@ -21,3 +22,6 @@ matrix:
2122
env: DJANGO_VERSION=master
2223
- python: "pypy"
2324
env: DJANGO_VERSION=master
25+
include:
26+
- python: "3.5"
27+
env: DJANGO_VERSION=2.2.x

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def read(*parts):
3535

3636

3737
install_requires = [
38-
'django>=1.8,<2.0',
38+
'django>=1.8,<=2.2',
3939
'babel>=1.3',
4040
'django-babel>=0.5.1',
4141
'markey>=0.8,<0.9',

tox.ini

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ deps110 =
1414
https://github.com/django/django/archive/stable/1.10.x.tar.gz#egg=django
1515
deps111 =
1616
https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
17+
deps22 =
18+
https://github.com/django/django/archive/stable/2.2.x.tar.gz#egg=django
1719
master =
1820
https://github.com/django/django/archive/master.tar.gz#egg=django
1921

@@ -69,6 +71,10 @@ deps = {[testenv]deps110}
6971
basepython = python3.5
7072
deps = {[testenv]deps111}
7173

74+
[testenv:3.5-2.2.x]
75+
basepython = python3.5
76+
deps = {[testenv]deps22}
77+
7278
[testenv:3.5-master]
7379
basepython = python3.5
7480
deps = {[testenv]master}
@@ -89,6 +95,10 @@ deps = {[testenv]deps110}
8995
basepython = pypy
9096
deps = {[testenv]deps111}
9197

98+
[testenv:pypy-2.2.x]
99+
basepython = pypy
100+
deps = {[testenv]deps22}
101+
92102
[docs]
93103
commands =
94104
pip install -e {toxinidir}

0 commit comments

Comments
 (0)