From cab52992449611f74bcdff1b456af8149de29f8b Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 23 Mar 2016 11:37:35 +0000 Subject: [PATCH] settings: Disable Debug Toolbar for all Django<1.7 The django-debug-toolbar project doesn't support Django 1.6, but the check used to disable this plugin for this version only works for Django 1.6.0 and less. Enable it for all versions of Django < 1.7. Signed-off-by: Stephen Finucane --- patchwork/settings/dev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py index 8e3fc69c..8c95c335 100644 --- a/patchwork/settings/dev.py +++ b/patchwork/settings/dev.py @@ -20,7 +20,7 @@ from .base import * # noqa # Models -if django.VERSION > (1, 6): +if django.VERSION >= (1, 7): INSTALLED_APPS += [ 'debug_toolbar' ] -- 2.47.3