summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-03-14 20:08:53 +0100
committerGitHub <noreply@github.com>2020-03-14 20:08:53 +0100
commita0916d7212aaae634f4388d47d8717abc2cd9036 (patch)
tree4bf75d892397e247d95138fc5f4511ba046bb9a8 /docs
parente2417010daf697d5a58bc2057a24b7785c4cef03 (diff)
Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/flatpages.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt
index 83cab038e4..ac3509c532 100644
--- a/docs/ref/contrib/flatpages.txt
+++ b/docs/ref/contrib/flatpages.txt
@@ -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::