From: Stephen Finucane Date: Sun, 21 Aug 2016 17:06:55 +0000 (+0100) Subject: requirements: Update django debug toolbar to 1.5 X-Git-Tag: v2.0.0-rc1~271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ccdccca10926b3c5a947dc38a51d9c9849dc0d4;p=thirdparty%2Fpatchwork.git requirements: Update django debug toolbar to 1.5 This is the latest version. This breaks compatibility with Django 1.7, but this version is unsupported and should not be used for development. We do, however, continue to test support for Django 1.7 and 1.6. This also prevents the need to manually track sqlparse dependency [1]. [1] https://github.com/jazzband/django-debug-toolbar/issues/856 Signed-off-by: Stephen Finucane --- diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py index b78a0bfe..60f52b1a 100644 --- a/patchwork/settings/dev.py +++ b/patchwork/settings/dev.py @@ -65,7 +65,7 @@ PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher'] # django-debug-toolbar -if django.VERSION >= (1, 7): +if django.VERSION >= (1, 8): INSTALLED_APPS += [ 'debug_toolbar' ] diff --git a/requirements-test.txt b/requirements-test.txt index cfc242f6..47c85b16 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,5 @@ mysqlclient==1.3.7 # replace this with psycopg2 for a PostgreSQL backend -django-debug-toolbar==1.4 +django-debug-toolbar==1.5 python-dateutil>2.0,<3.0 selenium>2.0,<3.0 djangorestframework>=3.3,<3.4