Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disabled the cache middleware.

  • Loading branch information...
commit 356647d707e89430c7b68e516ac17dffc70df1eb 1 parent 4533937
@jacobian jacobian authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  django_website/settings/www.py
View
3  django_website/settings/www.py
@@ -79,9 +79,6 @@
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
]
-if PRODUCTION:
- MIDDLEWARE_CLASSES.insert(0, 'django.middleware.cache.UpdateCacheMiddleware')
- MIDDLEWARE_CLASSES.append('django.middleware.cache.FetchFromCacheMiddleware')
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
Please sign in to comment.
Something went wrong with that request. Please try again.