public
Description: The source code for the Django Plugables application index.
Homepage: http://djangoplugables.com/
Clone URL: git://github.com/revyver/django-plugables.git
Adding middleware to do all the no-www stuff.
revyver (author)
Sun Jun 22 16:30:53 -0700 2008
commit  18778885ce8491e7ecc16b58f23d481c42c5131c
tree    d2bcb3da6f480779555e03e67b63a4783f614d46
parent  0658f7d7364f78ce20f9778aa76f65f6d17cf7a9
...
31
32
33
 
34
35
36
...
38
39
40
 
41
42
43
...
31
32
33
34
35
36
37
...
39
40
41
42
43
44
45
0
@@ -31,6 +31,7 @@ MIDDLEWARE_CLASSES = (
0
     'django.middleware.common.CommonMiddleware',
0
     'django.middleware.http.SetRemoteAddrFromForwardedFor',
0
     'django.contrib.sessions.middleware.SessionMiddleware',
0
+ 'applications.core.middleware.url.UrlMiddleware', # Custom Middleware
0
     'django.contrib.auth.middleware.AuthenticationMiddleware',
0
     'django.middleware.doc.XViewMiddleware',
0
     'django.middleware.http.ConditionalGetMiddleware',
0
@@ -38,6 +39,7 @@ MIDDLEWARE_CLASSES = (
0
 )
0
 USE_ETAGS = True
0
 APPEND_SLASH = True
0
+REMOVE_WWW = True
0
 
0
 
0
 # Template Settings

Comments

    No one has commented yet.