Fix check on debug toolbar

This commit is contained in:
Jelle van der Waa 2019-02-09 14:56:23 +01:00
parent 40d5fc5db4
commit 4a2c87b0f6

View File

@ -107,7 +107,7 @@
])
# django-toolbar
if settings.DEBUG:
if settings.DEBUG_TOOLBAR:
import debug_toolbar
urlpatterns.extend([
path('__debug__/', include(debug_toolbar.urls)),