From 3f4188e4b7f4e473c36c5ca4796cdfc52b1fdd60 Mon Sep 17 00:00:00 2001 From: Calum Andrew Morrell Date: Mon, 17 Feb 2025 00:05:23 +0000 Subject: [PATCH] Added urls for the core app. --- core/urls.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/urls.py diff --git a/core/urls.py b/core/urls.py new file mode 100644 index 0000000..138c8b8 --- /dev/null +++ b/core/urls.py @@ -0,0 +1,13 @@ +from django.contrib.flatpages.views import flatpage +from django.urls import path + +from . import views + +app_name = 'core' + +urlpatterns = [ + path('', views.Homepage.as_view(), name='homepage'), + path('about/me/', flatpage, {'url': '/about/me/'}, name='about-me'), + path('about/website/', flatpage, {'url': '/about/website/'}, name='about-website'), + path('about/contact/', flatpage, {'url': '/about/contact/'}, name='contact-me'), +]