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
2020-05-07 14:24:50 +01:00

13 lines
362 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)),
path("blog/", include("website.blog.urls")),
]
if settings.DEBUG:
urlpatterns.append(path("__debug__/", include(debug_toolbar.urls)))