aboutsummaryrefslogtreecommitdiffstats
path: root/tests/settings.py
diff options
context:
space:
mode:
authorJharrod LaFon2014-09-05 15:30:01 -0700
committerJharrod LaFon2014-09-05 15:30:01 -0700
commitbaa518cd890103173dd18857c609432bd47c6be4 (patch)
tree63d417b45767d3b01180c977e2efcc94ca8a344a /tests/settings.py
parentf4e02446f99cef42f18f57a2712c435a84451868 (diff)
downloaddjango-rest-framework-baa518cd890103173dd18857c609432bd47c6be4.tar.bz2
Moved OAuth support out of DRF and into a separate package, per #1767
Diffstat (limited to 'tests/settings.py')
-rw-r--r--tests/settings.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/settings.py b/tests/settings.py
index 91c9ed09..6a01669c 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -101,27 +101,6 @@ INSTALLED_APPS = (
'tests.users',
)
-# OAuth is optional and won't work if there is no oauth_provider & oauth2
-try:
- import oauth_provider # NOQA
- import oauth2 # NOQA
-except ImportError:
- pass
-else:
- INSTALLED_APPS += (
- 'oauth_provider',
- )
-
-try:
- import provider # NOQA
-except ImportError:
- pass
-else:
- INSTALLED_APPS += (
- 'provider',
- 'provider.oauth2',
- )
-
# guardian is optional
try:
import guardian # NOQA