[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:
parent
8d4638db20
commit
6831049fc2
@ -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::
|
||||
|
Loading…
x
Reference in New Issue
Block a user