This commit is contained in:
Michael 2020-02-29 21:22:37 -06:00
parent 7331e63201
commit 4c3a121676
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ jobs:
- image: circleci/python:3.8.0 - image: circleci/python:3.8.0
environment: environment:
DJANGO_VERSION: 3.0 DJANGO_VERSION: 3.0
DRF: 3.9 DRF: 3.11
executor: docker/docker executor: docker/docker
steps: steps:
- checkout - checkout

View File

@ -1,7 +1,7 @@
from django.conf import settings from django.conf import settings
from rest_framework.permissions import AllowAny from rest_framework.permissions import AllowAny
from rest_auth.registration.serializers import ( from dj_rest_auth.registration.serializers import (
RegisterSerializer as DefaultRegisterSerializer RegisterSerializer as DefaultRegisterSerializer
) )

View File

@ -8,7 +8,7 @@ if 'allauth.socialaccount' in settings.INSTALLED_APPS:
from allauth.socialaccount.models import SocialToken from allauth.socialaccount.models import SocialToken
from allauth.socialaccount.providers.oauth.client import OAuthError 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): class TwitterLoginSerializer(serializers.Serializer):