django/tests/flatpages_tests/absolute_urls.py

7 lines
154 B
Python
Raw Normal View History

from django.contrib.flatpages import views
from django.urls import path
urlpatterns = [
path('flatpage/', views.flatpage, {'url': '/hardcoded/'}),
]