diff options
-rw-r--r-- | docs/oauth2/server.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst index 15420f3..922189b 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) |