Merge branch 'master' into 2.3

This commit is contained in:
Tom Christie 2013-05-05 16:48:46 +01:00
commit 75b2afcb23

View File

@ -6,6 +6,7 @@ versions of django/python, and compatibility wrappers around optional packages.
from __future__ import unicode_literals
import django
from django.core.exceptions import ImproperlyConfigured
# Try to import six from Django, fallback to included `six`.
try:
@ -477,7 +478,7 @@ except ImportError:
try:
import oauth_provider
from oauth_provider.store import store as oauth_provider_store
except ImportError:
except (ImportError, ImproperlyConfigured):
oauth_provider = None
oauth_provider_store = None