mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 05:43:44 +03:00
WIP
This commit is contained in:
parent
7331e63201
commit
4c3a121676
|
@ -8,7 +8,7 @@ jobs:
|
|||
- image: circleci/python:3.8.0
|
||||
environment:
|
||||
DJANGO_VERSION: 3.0
|
||||
DRF: 3.9
|
||||
DRF: 3.11
|
||||
executor: docker/docker
|
||||
steps:
|
||||
- checkout
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from django.conf import settings
|
||||
|
||||
from rest_framework.permissions import AllowAny
|
||||
from rest_auth.registration.serializers import (
|
||||
from dj_rest_auth.registration.serializers import (
|
||||
RegisterSerializer as DefaultRegisterSerializer
|
||||
)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ if 'allauth.socialaccount' in settings.INSTALLED_APPS:
|
|||
from allauth.socialaccount.models import SocialToken
|
||||
from allauth.socialaccount.providers.oauth.client import OAuthError
|
||||
|
||||
from rest_auth.registration.serializers import SocialConnectMixin
|
||||
from dj_rest_auth.registration.serializers import SocialConnectMixin
|
||||
|
||||
|
||||
class TwitterLoginSerializer(serializers.Serializer):
|
||||
|
|
Loading…
Reference in New Issue
Block a user