khaganat-web/pages/urls.py

9 lines
175 B
Python
Raw Normal View History

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