diff --git a/rest_framework_oauth/authentication.py b/rest_framework_oauth/authentication.py index 7cd60da..a177a44 100644 --- a/rest_framework_oauth/authentication.py +++ b/rest_framework_oauth/authentication.py @@ -8,8 +8,8 @@ from rest_framework import exceptions from rest_framework.authentication import get_authorization_header, BaseAuthentication -from rest_framework.compat import oauth, oauth_provider, oauth_provider_store -from rest_framework.compat import oauth2_provider, provider_now, check_nonce +from compat import oauth, oauth_provider, oauth_provider_store +from compat import oauth2_provider, provider_now, check_nonce class OAuthAuthentication(BaseAuthentication):