Refs -- Made SessionMiddleware call super().__init__().
@@ -13,9 +13,7 @@ class SessionMiddleware(MiddlewareMixin):
# RemovedInDjango40Warning: when the deprecation ends, replace with:
# def __init__(self, get_response):
def __init__(self, get_response=None):
- self._get_response_none_deprecation(get_response)
- self.get_response = get_response
- self._async_check()
+ super().__init__(get_response)
engine = import_module(settings.SESSION_ENGINE)
self.SessionStore = engine.SessionStore
