aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/apps/home/urls.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-05 12:11:31 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-05 12:11:31 +0100
commitebda74029355ce3236ca9266acde40fd40329df7 (patch)
treeaba491f902c874328c88b8e7ccb9772b5414c17f /pysite/apps/home/urls.py
parentSet `harakiri = 30`. (diff)
[#176] Redo project layout
Diffstat (limited to 'pysite/apps/home/urls.py')
-rw-r--r--pysite/apps/home/urls.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pysite/apps/home/urls.py b/pysite/apps/home/urls.py
new file mode 100644
index 00000000..a01e019e
--- /dev/null
+++ b/pysite/apps/home/urls.py
@@ -0,0 +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('admin/', admin.site.urls)
+]