)]}'
{"openstack_auth/views.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"3c2dd992388d244821f170f86db03ebf66ec127e","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"    choices \u003d getattr(settings, \u0027WEBSSO_CHOICES\u0027, ())"},{"line_number":105,"context_line":"    extra_context \u003d {"},{"line_number":106,"context_line":"        \u0027redirect_field_name\u0027: auth.REDIRECT_FIELD_NAME,"},{"line_number":107,"context_line":"        \u0027csrf_failure\u0027: request.GET.get(\u0027csrf_failure\u0027),"},{"line_number":108,"context_line":"        \u0027show_sso_opts\u0027: utils.is_websso_enabled() and len(choices) \u003e 1,"},{"line_number":109,"context_line":"    }"}],"source_content_type":"text/x-python","patch_set":3,"id":"5faad753_9cd2195c","line":106,"range":{"start_line":106,"start_character":8,"end_line":106,"end_character":56},"updated":"2019-09-10 08:53:31.000000000","message":"This is unnecessary now as we pass redirect_field_name to LoginView.__init__ via as_view [1] and it is populated to the context [2].\n\n[1] https://github.com/django/django/blob/1.11.24/django/views/generic/base.py#L62\n[2] https://github.com/django/django/blob/1.11.24/django/contrib/auth/views.py#L122-L132","commit_id":"7938f36016286b1ebd8f7c2ebb2fe1c01c821bfc"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"3c2dd992388d244821f170f86db03ebf66ec127e","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        redirect_field_name\u003dauth.REDIRECT_FIELD_NAME,"},{"line_number":120,"context_line":"        form_class\u003dform,"},{"line_number":121,"context_line":"        extra_context\u003dextra_context,"},{"line_number":122,"context_line":"        redirect_authenticated_user\u003dFalse)(request)"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    # Save the region in the cookie, this is used as the default"},{"line_number":125,"context_line":"    # selected region next time the Login form loads."}],"source_content_type":"text/x-python","patch_set":3,"id":"5faad753_21609e01","line":122,"range":{"start_line":122,"start_character":8,"end_line":122,"end_character":41},"updated":"2019-09-10 08:53:31.000000000","message":"False is the default value of redirect_authenticated_user [1], so it looks unnecessary.\n\n[1] https://github.com/django/django/blob/2.0.13/django/contrib/auth/views.py#L51","commit_id":"7938f36016286b1ebd8f7c2ebb2fe1c01c821bfc"}]}
