From c251fb0c5404625137c51dafc0efbea65e2ad2a3 Mon Sep 17 00:00:00 2001 From: mochawich Date: Wed, 11 Mar 2015 22:32:25 +0100 Subject: [PATCH] using compat from this package Since relevant compat.py contents were copied to to this repo and removed from drf 3.1. --- rest_framework_oauth/authentication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):