aboutsummaryrefslogtreecommitdiffstats
path: root/home/urls.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-21 21:47:54 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-21 21:47:54 +0200
commitc9c5c60698a233b77813b4d9cf4b8d5506481bc3 (patch)
tree569f8fd16c09cb084ff60fd4600a0bc9c57b870b /home/urls.py
parentUse default `cheaper` interval setting. (diff)
Mount `/admin` site at home subdomain.
Diffstat (limited to 'home/urls.py')
-rw-r--r--home/urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/urls.py b/home/urls.py
index 1e84b7f4..40bf5cc3 100644
--- a/home/urls.py
+++ b/home/urls.py
@@ -1,8 +1,10 @@
+from django.contrib import admin
from django.urls import path
from django.views.generic import TemplateView
app_name = 'home'
urlpatterns = [
- path('', TemplateView.as_view(template_name='home/index.html'), name='index')
+ path('', TemplateView.as_view(template_name='home/index.html'), name='index'),
+ path('admin', admin.site.urls)
]