Refs #31928 -- Made SessionMiddleware call super().__init__().
This commit is contained in:
parent
68d7cf4054
commit
ea57a2834f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue