1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
website-2020-spike/website/urls.py

11 lines
306 B
Python
Raw Normal View History

2020-04-12 14:52:22 +01:00
import debug_toolbar
from django.conf import settings
from django.urls import include, path
2020-04-12 14:41:27 +01:00
2020-04-13 10:39:38 +01:00
from website.common.urls import urlpatterns as common_urlpatterns
urlpatterns = [path("", include(common_urlpatterns))]
2020-04-12 14:52:22 +01:00
if settings.DEBUG:
urlpatterns.append(path("__debug__/", include(debug_toolbar.urls)))