Ticket #647: django.cache.patch
File django.cache.patch, 541 bytes (added by , 19 years ago) |
---|
-
cache.py
52 52 53 53 def process_response(self, request, response): 54 54 "Sets the cache, if needed." 55 if not request._cache_update_cache:55 if not hasattr(request, '_cache_update_cache') or not request._cache_update_cache: 56 56 # We don't need to update the cache, just return. 57 57 return response 58 58 if not request.META['REQUEST_METHOD'] == 'GET':