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