Skip to content
Browse files

Disabled the cache middleware.

  • Loading branch information...
1 parent 4533937 commit 356647d707e89430c7b68e516ac17dffc70df1eb @jacobian jacobian committed
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',

0 comments on commit 356647d

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