Skip to content

Commit 632aec2

Browse files
authored
Remove allauth warning (#12198)
``` warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions") ```
1 parent 2190a41 commit 632aec2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

readthedocs/core/adapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import structlog
44
from allauth.account.adapter import DefaultAccountAdapter
55
from allauth.account.adapter import get_adapter as get_account_adapter
6-
from allauth.exceptions import ImmediateHttpResponse
6+
from allauth.core.exceptions import ImmediateHttpResponse
77
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
88
from allauth.socialaccount.models import SocialAccount
99
from allauth.socialaccount.providers.github.provider import GitHubProvider

readthedocs/core/tests/test_adapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest import mock
22

3-
from allauth.exceptions import ImmediateHttpResponse
3+
from allauth.core.exceptions import ImmediateHttpResponse
44
from allauth.socialaccount.adapter import get_adapter as get_social_account_adapter
55
from allauth.socialaccount.models import SocialAccount, SocialLogin
66
from allauth.socialaccount.providers.github.provider import GitHubProvider

0 commit comments

Comments
 (0)