Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Disabled the cache middleware.

  • Loading branch information...
commit 356647d707e89430c7b68e516ac17dffc70df1eb 1 parent 4533937
Jacob Kaplan-Moss authored June 29, 2011

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

  1. 3  django_website/settings/www.py
3  django_website/settings/www.py
@@ -79,9 +79,6 @@
79 79
     'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
80 80
     'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
81 81
 ]
82  
-if PRODUCTION:
83  
-    MIDDLEWARE_CLASSES.insert(0, 'django.middleware.cache.UpdateCacheMiddleware')
84  
-    MIDDLEWARE_CLASSES.append('django.middleware.cache.FetchFromCacheMiddleware')
85 82
 
86 83
 TEMPLATE_LOADERS = (
87 84
     'django.template.loaders.filesystem.load_template_source',

0 notes on commit 356647d

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