Added urls for the core app.

pull/1/head
Calum Andrew Morrell 2025-02-17 00:05:23 +00:00
parent c30f39ca24
commit 3f4188e4b7
1 changed files with 13 additions and 0 deletions

13
core/urls.py Normal file
View File

@ -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'),
]