Opened 17 years ago

Closed 17 years ago

#6309 closed (duplicate)

Make Flatpages respect APPEND_SLASH=True (patch)

Reported by: Ville Säävuori Owned by: nobody
Component: Contrib apps Version: dev
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

Description

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 http://groups.google.com/group/django-users/browse_thread/thread/8dcddba467799670 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 17 years ago.

Download all attachments as: .zip

Change History (2)

by Ville Säävuori, 17 years ago

Attachment: apped_slash_flatpages.diff added

comment:1 by Chris Beaven, 17 years ago

Resolution: duplicate
Status: newclosed

Dupe of #6167

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