diff options
Diffstat (limited to '')
-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") |