add get_response param

dj111
eric 2018-05-07 12:55:41 -04:00
parent f8c377bc3b
commit cfab614426
1 changed files with 2 additions and 1 deletions

View File

@ -33,8 +33,9 @@ class RequestCache(LocMemCache):
super(RequestCache, self).__init__(name, params)
class RequestCacheMiddleware(MiddlewareMixin):
def __init__(self):
def __init__(self, get_response=None):
global _installed_middleware
self.get_response = get_response
_installed_middleware = True
def process_request(self, request):