Ville Säävuori
unread,Jan 4, 2008, 12:36:30 AM1/4/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I'm not sure if this is a bug in my setup, a bug in Django or not a
bug at all. I have the great APPEND_SLASH=True in my settings for
canonical urls, and I'm using contrib.flatpages. Problem is, after the
changes in r6582, all flatpages with url ending slash (ie, all of my
flatpages) do not redirect without a slash but rather end up as 404.
So, flatpage with slug "/foo/" and request to "/foo" end up as 404. If
I change my flatpages slug to "/foo", requests to both "/foo" and "/
foo/" work, but now the page has two different urls, which obviously
sucks big hairy balls.
Is this a bug in Django or am I missing something?
- VS