aboutsummaryrefslogtreecommitdiffstats
path: root/home/urls.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-08-13 23:35:26 +0200
committerGravatar Johannes Christ <[email protected]>2018-08-13 23:35:26 +0200
commitf72e333dc49f99436136b9c1a0a6287ceebb76b2 (patch)
tree637714d3cb5bb39072949c319f0bb21924efc467 /home/urls.py
parentInclude `CREATEDB` permission necessary for tests. (diff)
Namespace `home:index` URL.
Diffstat (limited to 'home/urls.py')
-rw-r--r--home/urls.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/urls.py b/home/urls.py
index 31e76c9f..1e84b7f4 100644
--- a/home/urls.py
+++ b/home/urls.py
@@ -1,9 +1,8 @@
-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'))
+ path('', TemplateView.as_view(template_name='home/index.html'), name='index')
]