mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
adding debug toolbar
This commit is contained in:
@@ -33,6 +33,9 @@ urlpatterns = [
|
||||
),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
urlpatterns += path('__debug__/', include('debug_toolbar.urls')),
|
||||
|
||||
if settings.ENABLE_METRICS:
|
||||
urlpatterns += re_path('', include('django_prometheus.urls')),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user