We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4726214 commit ff6b4dbCopy full SHA for ff6b4db
1 file changed
ietf/urls.py
@@ -91,7 +91,7 @@
91
settings.DEBUG = save_debug
92
93
# Debug Toolbar
94
-if hasattr(settings, 'USE_DEBUG_TOOLBAR') and settings.USE_DEBUG_TOOLBAR:
+if getattr(settings, 'USE_DEBUG_TOOLBAR', False):
95
try:
96
import debug_toolbar
97
urlpatterns = urlpatterns + [path('__debug__/', include(debug_toolbar.urls)), ]
0 commit comments