10 lines
306 B
Python
10 lines
306 B
Python
import debug_toolbar
|
|
from django.conf import settings
|
|
from django.urls import include, path
|
|
|
|
from website.common.urls import urlpatterns as common_urlpatterns
|
|
|
|
urlpatterns = [path("", include(common_urlpatterns))]
|
|
|
|
if settings.DEBUG:
|
|
urlpatterns.append(path("__debug__/", include(debug_toolbar.urls)))
|