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

14 lines
362 B
Python
Raw Permalink 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
2020-05-07 14:24:50 +01:00
urlpatterns = [
path("", include(common_urlpatterns)),
path("blog/", include("website.blog.urls")),
]
2020-04-12 14:52:22 +01:00
if settings.DEBUG:
urlpatterns.append(path("__debug__/", include(debug_toolbar.urls)))