aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
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