Ajouté le gzip middleware
authorEric Mc Sween <eric.mcsween@gmail.com>
Tue, 14 Dec 2010 21:22:39 +0000 (16:22 -0500)
committerEric Mc Sween <eric.mcsween@gmail.com>
Tue, 14 Dec 2010 21:22:39 +0000 (16:22 -0500)
auf_savoirs_en_partage/settings.py

index 88daa24..10293b5 100644 (file)
@@ -36,6 +36,7 @@ TEMPLATE_LOADERS = (
 )
 
 MIDDLEWARE_CLASSES = (
+    'django.middleware.gzip.GZipMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',