Added urls for the core app.
parent
c30f39ca24
commit
3f4188e4b7
|
|
@ -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'),
|
||||
]
|
||||
Loading…
Reference in New Issue