.
This commit is contained in:
@@ -28,7 +28,7 @@ if settings.DEBUG:
|
||||
try:
|
||||
import debug_toolbar
|
||||
|
||||
urlpatterns = [path("__debug__/,", include(debug_toolbar.urls))] + urlpatterns
|
||||
urlpatterns = [path("__debug__/", include(debug_toolbar.urls))] + urlpatterns
|
||||
except Exception:
|
||||
# debug_toolbar not installed; skip
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user