Skip to content

Commit c251fb0

Browse files
author
mochawich
committed
using compat from this package
Since relevant compat.py contents were copied to to this repo and removed from drf 3.1.
1 parent f26dcc3 commit c251fb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rest_framework_oauth/authentication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
from rest_framework import exceptions
1010
from rest_framework.authentication import get_authorization_header, BaseAuthentication
11-
from rest_framework.compat import oauth, oauth_provider, oauth_provider_store
12-
from rest_framework.compat import oauth2_provider, provider_now, check_nonce
11+
from compat import oauth, oauth_provider, oauth_provider_store
12+
from compat import oauth2_provider, provider_now, check_nonce
1313

1414

1515
class OAuthAuthentication(BaseAuthentication):

0 commit comments

Comments
 (0)