summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/server2.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/server2.rst b/docs/server2.rst
index a8cd28d..ebfe4b9 100644
--- a/docs/server2.rst
+++ b/docs/server2.rst
@@ -77,6 +77,7 @@ Assuming you have the validator from above implemented already, creating an OAut
from my_validator import MyRequestValidator
from oauthlib.oauth2 import WebApplicationServer # BearerTokens + Authorization Code grant
+ from oauthlib.oauth2.ext.django import OAuth2ProviderDecorator
validator = MyRequestValidator()
server = WebApplicationServer(validator)