[3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.

Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Backport of a0916d7212aaae634f4388d47d8717abc2cd9036 from master
This commit is contained in:
Hasan Ramezani 2020-03-14 20:08:53 +01:00 committed by Mariusz Felisiak
parent 8d4638db20
commit 6831049fc2

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::