diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst index 15420f3f..922189bf 100644 --- a/docs/oauth2/server.rst +++ b/docs/oauth2/server.rst @@ -447,7 +447,7 @@ The example using Django but should be transferable to any framework. response[k] = v return response - def response_from_error(e) + def response_from_error(e): return HttpResponseBadRequest('Evil client is unable to send a proper request. Error is: ' + e.description)