def __init__(self, get_response=None, form=None, until_date=None,<EOL>after_date=None, logout_key=None, session_key=None,<EOL>url_exceptions=None, view_exceptions=None,<EOL>remote_addr_exceptions=None, trusted_proxies=None,<EOL>extra_context=None, **form_kwargs):
if logout_key is None:<EOL><INDENT>logout_key = settings.LOGOUT_KEY<EOL><DEDENT>if session_key is None:<EOL><INDENT>session_key = settings.SESSION_KEY<EOL><DEDENT>self.get_response = get_response<EOL>self.form = form<EOL>self.form_kwargs = form_kwargs<EOL>self.until_date = until_date<EOL>self.after_date = after_date<EOL>self.logout_key = logout_key<EOL>self.session_key = session_key<EOL>self.url_exceptions = url_exceptions<EOL>self.remote_addr_exceptions = remote_addr_exceptions<EOL>self.trusted_proxies = trusted_proxies<EOL>self.extra_context = extra_context<EOL>
Initialize the middleware, by setting the configuration values.