diff options
| author | Tom Christie | 2013-03-12 11:47:35 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-03-12 11:47:35 -0700 |
| commit | 12ac357559457d1ded341728aaf76408f0417f9b (patch) | |
| tree | 9f16aba8b91aece7480ada162d768230c24b3204 /rest_framework/compat.py | |
| parent | a34f45b06e68fbe69f02d79c883ca764d88ac44b (diff) | |
| parent | eec8efafc3eeacf00696208d2e1e55a11821257b (diff) | |
| download | django-rest-framework-12ac357559457d1ded341728aaf76408f0417f9b.tar.bz2 | |
Merge pull request #721 from dulaccc/token-scope-permission
Token scope permission class
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 69be9543..e9570a08 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -453,9 +453,11 @@ try: 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 except ImportError: oauth2_provider = None oauth2_provider_backends = None oauth2_provider_models = None oauth2_provider_forms = None + oauth2_provider_scope = None |
