diff options
author | Ib Lundgren <ib.lundgren@gmail.com> | 2013-02-05 23:11:32 +0100 |
---|---|---|
committer | Ib Lundgren <ib.lundgren@gmail.com> | 2013-02-05 23:11:32 +0100 |
commit | 8ab03a2fb7c5c1f081f38788b300d7fe72f45073 (patch) | |
tree | 4abf2dad534dc091857eb627966e88ea60ee1e18 /docs | |
parent | 01f8fb5c9d5a94fd9cddcd067896d502df8f050d (diff) | |
download | oauthlib-8ab03a2fb7c5c1f081f38788b300d7fe72f45073.tar.gz |
Missed import in oauth 2 provider docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/server2.rst | 1 |
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) |