Exemplo n.º 1
0
 def get(self, request):
     return HttpResponse(get_login_session_form(request).to_json(),
                         content_type="application/json")
Exemplo n.º 2
0
 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