khaganat-web/pages/urls.py

9 lines
175 B
Python
Raw Permalink Normal View History

2018-01-13 14:45:54 +00:00
from django.urls import path
from . import views
urlpatterns = [
2019-07-24 17:07:41 +00:00
path("<slug:slug>/", views.PageView.as_view(), name="page"),
path("", views.index, name="index"),
2018-01-13 14:45:54 +00:00
]