diff --git a/chris_backend/config/urls.py b/chris_backend/config/urls.py index 04e4b905..5959333a 100644 --- a/chris_backend/config/urls.py +++ b/chris_backend/config/urls.py @@ -47,3 +47,10 @@ path('schema/swagger-ui/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'), path('schema/redoc/', SpectacularRedocView.as_view(url_name='schema'), name='redoc'), ] + +if settings.DEBUG: + import debug_toolbar + + urlpatterns += [ + path('__debug__/', include(debug_toolbar.urls)), + ]