Skip to content

Commit

Permalink
Added redirects middleware to djangoproject.com settings; fixes #868
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@1338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacob committed Nov 21, 2005
1 parent eb1c9a2 commit d6a0b92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions django_website/settings/main.py
Expand Up @@ -41,6 +41,8 @@
CACHE_MIDDLEWARE_GZIP = True CACHE_MIDDLEWARE_GZIP = True


MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
"django.middleware.common.CommonMiddleware", 'django.middleware.sessions.SessionMiddleware',
# "django.middleware.cache.CacheMiddleware", 'django.middleware.common.CommonMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
) )

0 comments on commit d6a0b92

Please sign in to comment.