Make sure that you have 'django.middleware.common.CommonMiddleware' in your
list of MIDDLEWARE_CLASSES. Otherwise APPEND_SLASH has no effect.

- Chris

On Sat, Apr 14, 2012 at 04:15, graeme <[email protected]> wrote:

> I have the following setup using Django 1.3:
>
> 1) Middleware that changes request.urlconf depending on the domain
> requested
> 2) APPEND_SLASH = True
> 3) One URL pattern that does not end in a slash.
>
> A request for a URL that matches the the pattern that does not end in
> a slash is redirected. It works with APPEND_SLASH=False
>
> As far as I can see from the documentation this is not what is
> supposed to happen. Any possible causes, or workarounds I could try?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to