From 7db45bda96ea6f5fde1186e8fd43d75ce6b95ab5 Mon Sep 17 00:00:00 2001 From: Nemanja Tozic Date: Wed, 25 May 2022 16:02:42 +0200 Subject: Fix typo in server.rst missing semicolon --- docs/oauth2/server.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1