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 wrote:
> I have the following setup using Django 1.3:
>
> 1) Middleware that changes request.urlconf depend
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 w
2 matches
Mail list logo