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::