diff options
author | Stephen Finucane <stephen@that.guru> | 2020-04-30 22:22:10 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-04-30 22:24:46 +0100 |
commit | 029aff107ea9950418f9ad3cf44c3ba1ca3ea3ee (patch) | |
tree | bad532edd45313bb19e915a23b8939129df32858 | |
parent | e5c5f8fcdb2d05b1bc4ae83aa6223d3f8f5fc080 (diff) | |
download | patchwork-029aff107ea9950418f9ad3cf44c3ba1ca3ea3ee.tar patchwork-029aff107ea9950418f9ad3cf44c3ba1ca3ea3ee.tar.gz |
tox: Add default Django version
I occasionally forget myself and run e.g. 'tox -e pyNN' when I want to
sanity check something instead of 'tox -e pyNN-djangoMM'. Add fallback
Django versions so that this doesn't crash and burn. It's less succict
than it could be since tox doesn't seem to support '!django{22,30}'
(yet!).
Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r-- | tox.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ deps = django30: django>=3.0,<3.1 django30: djangorestframework>=3.10,<3.12 django30: django-filter>=2.2,<3.0 + !django22,!django30: django>=3.0,<3.1 + !django22,!django30: djangorestframework>=3.10,<3.12 + !django22,!django30: django-filter>=2.2,<3.0 setenv = DJANGO_SETTINGS_MODULE = patchwork.settings.dev PYTHONDONTWRITEBYTECODE = 1 |