Make Flatpages respect APPEND_SLASH=True (patch)
|Reported by:||Uninen||Owned by:||nobody|
|Severity:||Keywords:||flatpages, APPEND_SLASH, urls|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||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 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.