diff options
| author | Tom Christie | 2013-03-29 06:42:24 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-03-29 06:42:24 -0700 |
| commit | a69262a1cd03667416d94080101f735039aa084f (patch) | |
| tree | 40e849db9b542fd6743437b323610819e43c7b2b /rest_framework/compat.py | |
| parent | ff3ebd979dab9a358a4708ea1de0fd8ebf121157 (diff) | |
| parent | fa61b2b2f10bf07e3cb87ca947ce7f0ca51a2ede (diff) | |
| download | django-rest-framework-a69262a1cd03667416d94080101f735039aa084f.tar.bz2 | |
Merge pull request #767 from tomchristie/fix-oauth2-token-only
Fix OAuth 2 token only
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py index f0bb9c08..6551723a 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -476,14 +476,12 @@ except ImportError: # OAuth 2 support is optional try: import provider.oauth2 as oauth2_provider - from provider.oauth2 import backends as oauth2_provider_backends from provider.oauth2 import models as oauth2_provider_models from provider.oauth2 import forms as oauth2_provider_forms from provider import scope as oauth2_provider_scope from provider import constants as oauth2_constants except ImportError: oauth2_provider = None - oauth2_provider_backends = None oauth2_provider_models = None oauth2_provider_forms = None oauth2_provider_scope = None |
