aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorTom Christie2013-03-12 11:47:35 -0700
committerTom Christie2013-03-12 11:47:35 -0700
commit12ac357559457d1ded341728aaf76408f0417f9b (patch)
tree9f16aba8b91aece7480ada162d768230c24b3204 /rest_framework/compat.py
parenta34f45b06e68fbe69f02d79c883ca764d88ac44b (diff)
parenteec8efafc3eeacf00696208d2e1e55a11821257b (diff)
downloaddjango-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.py2
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