Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
Regression in df41b5a05d
.
This commit is contained in:
parent
e2417010da
commit
a0916d7212
|
@ -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…
Reference in New Issue