mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-23 18:29:23 -05:00
fixed debug toolbar setup
This commit is contained in:
@@ -34,7 +34,7 @@ urlpatterns = [
|
||||
),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
if settings.DEBUG and settings.DEBUG_TOOLBAR:
|
||||
urlpatterns += path('__debug__/', include('debug_toolbar.urls')),
|
||||
|
||||
if settings.ENABLE_METRICS:
|
||||
|
||||
Reference in New Issue
Block a user