From c6b66ab18607574cef409146f7c37f028a163b1d Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Tue, 13 Sep 2016 17:48:17 +0200
Subject: [PATCH] Fixed debug toolbar not showing

---
 config/settings/local.py | 1 +
 requirements/local.txt   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config/settings/local.py b/config/settings/local.py
index b57f49a..762ffe7 100644
--- a/config/settings/local.py
+++ b/config/settings/local.py
@@ -48,6 +48,7 @@ DEBUG_TOOLBAR_CONFIG = {
         'debug_toolbar.panels.redirects.RedirectsPanel',
     ],
     'SHOW_TEMPLATE_CONTEXT': True,
+    'SHOW_TOOLBAR_CALLBACK': lambda request: True,
 }
 
 # django-extensions
diff --git a/requirements/local.txt b/requirements/local.txt
index d0e65d5..ff8f35c 100644
--- a/requirements/local.txt
+++ b/requirements/local.txt
@@ -9,7 +9,7 @@ django-test-plus==1.0.11
 factory_boy==2.6.0
 
 # django-debug-toolbar that works with Django 1.5+
-django-debug-toolbar==1.4
+django-debug-toolbar>=1.5,<1.6
 
 # improved REPL
 ipdb==0.8.1
-- 
GitLab