def get(self, request): return HttpResponse(get_login_session_form(request).to_json(), content_type="application/json")
def get(self, request, *args, **kwargs): return HttpResponse(get_login_session_form(request).to_json(), content_type="application/json") # lint-amnesty, pylint: disable=http-response-with-content-type-json