Skip to content

Commit

Permalink
[3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work wit…
Browse files Browse the repository at this point in the history
…h APPEND_SLASH.

Regression in df41b5a.
Backport of a0916d7 from master
  • Loading branch information
hramezani authored and felixxm committed Mar 14, 2020
1 parent 8d4638d commit 6831049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/contrib/flatpages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 6831049

Please sign in to comment.