Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Enable redirects on docs.dp.com.

  • Loading branch information...
commit f2afe9b0327435c0502456a94ee4edcbdaa4c867 1 parent 03b863c
Aymeric Augustin authored February 20, 2013

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  django_docs/settings.py
2  django_docs/settings.py
@@ -8,6 +8,7 @@
8 8
 CACHE_MIDDLEWARE_KEY_PREFIX = 'djangodocs'
9 9
 
10 10
 INSTALLED_APPS = [
  11
+    'django.contrib.redirects',
11 12
     'django.contrib.sitemaps',
12 13
     'django.contrib.sites',
13 14
     'django.contrib.staticfiles',
@@ -23,6 +24,7 @@
23 24
     'django.middleware.cache.UpdateCacheMiddleware',
24 25
     'djangosecure.middleware.SecurityMiddleware',
25 26
     'django.middleware.common.CommonMiddleware',
  27
+    'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
26 28
     'django.middleware.cache.FetchFromCacheMiddleware'
27 29
 ]
28 30
 

0 notes on commit f2afe9b

Please sign in to comment.
Something went wrong with that request. Please try again.