1 2 3 4 5 6 7 8 9 10 11 12 13
from django.urls import path, re_path from . import views app_name = "pages" urlpatterns = [ path( r'', views.PageDetailView.as_view(), name="detail" ), ]