django1/django/contrib/flatpages/urls.py

7 lines
179 B
Python

from django.contrib.flatpages import views
from django.urls import path
urlpatterns = [
path('<path:url>', views.flatpage, name='django.contrib.flatpages.views.flatpage'),
]