Skip to content

Commit 3ebc230

Browse files
author
Massimiliano Pippi
committed
moved oauth2 backends to oauth2_backends.py module
1 parent eb3ecde commit 3ebc230

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

oauth2_provider/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from django.core.exceptions import ImproperlyConfigured
66

77
from .oauth2_validators import OAuth2Validator
8-
from .backends import OAuthLibCore
8+
from .oauth2_backends import OAuthLibCore
99
from .settings import oauth2_settings
1010

1111

oauth2_provider/ext/rest_framework/authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from rest_framework.authentication import BaseAuthentication
22

3-
from ...backends import get_oauthlib_core
3+
from ...oauth2_backends import get_oauthlib_core
44

55

66
class OAuth2Authentication(BaseAuthentication):
File renamed without changes.

oauth2_provider/views/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from django.core.exceptions import ImproperlyConfigured
66
from django.http import HttpResponseForbidden
77

8-
from ..backends import OAuthLibCore
8+
from ..oauth2_backends import OAuthLibCore
99
from ..exceptions import FatalClientError
1010
from ..settings import oauth2_settings
1111

0 commit comments

Comments
 (0)