Re: APPEND_SLASH = True with URL patterns without slash

2012-04-14 Thread Chris Streeter
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

APPEND_SLASH = True with URL patterns without slash

2012-04-14 Thread graeme
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