Browse files

Enable redirects on docs.dp.com.

  • Loading branch information...
1 parent 03b863c commit f2afe9b0327435c0502456a94ee4edcbdaa4c867 @aaugustin aaugustin committed Feb 20, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 django_docs/settings.py
View
2 django_docs/settings.py
@@ -8,6 +8,7 @@
CACHE_MIDDLEWARE_KEY_PREFIX = 'djangodocs'
INSTALLED_APPS = [
+ 'django.contrib.redirects',
'django.contrib.sitemaps',
'django.contrib.sites',
'django.contrib.staticfiles',
@@ -23,6 +24,7 @@
'django.middleware.cache.UpdateCacheMiddleware',
'djangosecure.middleware.SecurityMiddleware',
'django.middleware.common.CommonMiddleware',
+ 'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware'
]

0 comments on commit f2afe9b

Please sign in to comment.