def __init__(self, request, *args, **kwargs):
    assert hasattr(request, 'session'), 'The session-based temporary message storage requires session middleware to be installed, and come before the message middleware in the MIDDLEWARE_CLASSES list.'
    super(SessionStorage, self).__init__(request, *args, **kwargs)
def __init__(self, request, *args, **kwargs):
    assert hasattr(request, 'session'), 'The session-based temporary message storage requires session middleware to be installed, and come before the message middleware in the MIDDLEWARE_CLASSES list.'
    super(SessionStorage, self).__init__(request, *args, **kwargs)