summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2019-02-09 14:56:23 +0100
committerJelle van der Waa <jelle@vdwaa.nl>2019-02-09 14:56:23 +0100
commit4a2c87b0f63ee780089f20845ea3b66ee6228cc2 (patch)
tree8038c2d5d8aee34da872bda8a81644ad506f9565
parent40d5fc5db4cd116ac9ed5e071eacbc1c753030c5 (diff)
downloadarchweb-4a2c87b0f63ee780089f20845ea3b66ee6228cc2.tar.gz
archweb-4a2c87b0f63ee780089f20845ea3b66ee6228cc2.zip
Fix check on debug toolbar
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index bfc7022e..d6570c6e 100644
--- a/urls.py
+++ b/urls.py
@@ -107,7 +107,7 @@ urlpatterns.extend([
])
# django-toolbar
-if settings.DEBUG:
+if settings.DEBUG_TOOLBAR:
import debug_toolbar
urlpatterns.extend([
path('__debug__/', include(debug_toolbar.urls)),