From 9ccdccca10926b3c5a947dc38a51d9c9849dc0d4 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sun, 21 Aug 2016 18:06:55 +0100 Subject: [PATCH] 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 --- patchwork/settings/dev.py | 2 +- requirements-test.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3