diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-22 16:22:30 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-22 16:22:30 +0100 |
commit | 5d489ef3685b32ee5e9c68839b1e187870c0d659 (patch) | |
tree | e28d090eb217cad555d07a154e6479878bae5c64 /ctrack/core | |
parent | 44959fde6494d90d644a11866d86c704a5cf5034 (diff) |
started work on optional User as organisation.Person object - tests
Diffstat (limited to 'ctrack/core')
-rw-r--r-- | ctrack/core/urls.py | 9 | ||||
-rw-r--r-- | ctrack/core/views.py | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/ctrack/core/urls.py b/ctrack/core/urls.py new file mode 100644 index 0000000..8f2ca6e --- /dev/null +++ b/ctrack/core/urls.py @@ -0,0 +1,9 @@ +from django.urls import path + +from ctrack.core.views import home_page + +app_name = "core" + +urlpatterns = [ + path("", home_page, name="home") +] diff --git a/ctrack/core/views.py b/ctrack/core/views.py index 91ea44a..bee2d72 100644 --- a/ctrack/core/views.py +++ b/ctrack/core/views.py @@ -1,3 +1,5 @@ from django.shortcuts import render -# Create your views here. + +def home_page(request): + return render(request, "pages/home.html") |