8 lines
202 B
Python
8 lines
202 B
Python
import debug_toolbar
|
|
from django.conf import settings
|
|
from django.urls import include, path
|
|
|
|
urlpatterns = []
|
|
|
|
if settings.DEBUG:
|
|
urlpatterns.append(path("__debug__/", include(debug_toolbar.urls)))
|