diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-03-14 20:08:53 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-14 20:10:05 +0100 |
| commit | 6831049fc20689010deb445d402a376322fb471c (patch) | |
| tree | aeb03bbfdd8901d5c35427ae5273cfbe153eb90d /docs/ref | |
| parent | 8d4638db20e73ffa451d4a21b0112c2b06ea6906 (diff) | |
[3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Backport of a0916d7212aaae634f4388d47d8717abc2cd9036 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/flatpages.txt | 2 |
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:: |
