from django.urls import path, re_path from . import views app_name = "pages" urlpatterns = [ path( r'', views.PageDetailView.as_view(), name="detail" ), ]