diff options
author | Stephen Finucane <stephen@that.guru> | 2018-09-13 16:08:31 -0600 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-10-06 17:43:38 +0100 |
commit | 8eb3719a1f9afb0d9755b36d69af5334b0971a34 (patch) | |
tree | 99279622b534e4fa51823473e39089b6bdfe1614 /tox.ini | |
parent | 3b9a5d6b9f13f0ce2935dee55d0cabb146d47e9a (diff) | |
download | patchwork-8eb3719a1f9afb0d9755b36d69af5334b0971a34.tar patchwork-8eb3719a1f9afb0d9755b36d69af5334b0971a34.tar.gz |
Add support for django-filter 2.0
This is necessary for Django 2.1 support. We retain support for
django-filter 1.0 and 1.1 as 2.0 is Python 3-only. Thankfully there is
essentially zero cost in doing so for now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,10 +8,11 @@ deps = -r{toxinidir}/requirements-test.txt django111: django>=1.11,<2.0 django111: djangorestframework>=3.6,<3.9 - django111: django-filter>=1.0,<1.2 + django111: django-filter>=1.0,<3.0; python_version >= '3.4' + django111: django-filter>=1.0,<2.0; python_version < '3.0' django20: django>=2.0,<2.1 django20: djangorestframework>=3.7,<3.9 - django20: django-filter>=1.1,<1.2 + django20: django-filter>=2.0,<3.0 setenv = DJANGO_SETTINGS_MODULE = patchwork.settings.dev PYTHONDONTWRITEBYTECODE = 1 |