1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.

Regression in df41b5a05d.
This commit is contained in:
Hasan Ramezani 2020-03-14 20:08:53 +01:00 committed by GitHub
parent e2417010da
commit a0916d7212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ to place the pattern at the end of the other urlpatterns::
# Your other patterns here
urlpatterns += [
path('<path:url>', views.flatpage),
path('<path:url>/', views.flatpage),
]
.. warning::