From a0916d7212aaae634f4388d47d8717abc2cd9036 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sat, 14 Mar 2020 20:08:53 +0100 Subject: [PATCH] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH. Regression in df41b5a05d4e00e80e73afe629072e37873e767a. --- docs/ref/contrib/flatpages.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('', views.flatpage), + path('/', views.flatpage), ] .. warning::