Commit 75b2afcb by Tom Christie

Merge branch 'master' into 2.3

parents 2dfd8c96 198b679e
...@@ -6,6 +6,7 @@ versions of django/python, and compatibility wrappers around optional packages. ...@@ -6,6 +6,7 @@ versions of django/python, and compatibility wrappers around optional packages.
from __future__ import unicode_literals from __future__ import unicode_literals
import django import django
from django.core.exceptions import ImproperlyConfigured
# Try to import six from Django, fallback to included `six`. # Try to import six from Django, fallback to included `six`.
try: try:
...@@ -477,7 +478,7 @@ except ImportError: ...@@ -477,7 +478,7 @@ except ImportError:
try: try:
import oauth_provider import oauth_provider
from oauth_provider.store import store as oauth_provider_store from oauth_provider.store import store as oauth_provider_store
except ImportError: except (ImportError, ImproperlyConfigured):
oauth_provider = None oauth_provider = None
oauth_provider_store = None oauth_provider_store = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment