Opened 11 years ago

Closed 11 years ago

#6309 closed (duplicate)

Make Flatpages respect APPEND_SLASH=True (patch)

Reported by: Ville Säävuori Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords: flatpages, APPEND_SLASH, urls
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Currently flatpages don't work very well with APPEND_SLASH=True. If user has APPEND_SLASH on and a flatpage with url="/foo/", request to url "/foo" gives an 404. See discussion at for more information.

This patch makes flatpages respect APPEND_SLASH setting. It also adds a small notice to the flatpage docs about the change.

Attachments (1)

apped_slash_flatpages.diff (1.7 KB) - added by Ville Säävuori 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Ville Säävuori

Attachment: apped_slash_flatpages.diff added

comment:1 Changed 11 years ago by Chris Beaven

Resolution: duplicate
Status: newclosed

Dupe of #6167

Note: See TracTickets for help on using tickets.
Back to Top