From d1eb66709cadccac0088004df16c178fb6ae4ffc Mon Sep 17 00:00:00 2001 From: Clovin Date: Fri, 2 Dec 2022 13:02:47 +0800 Subject: [PATCH] fix lint issue --- backend/social/okta.py | 2 +- backend/social/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/social/okta.py b/backend/social/okta.py index d6fd3b2b..7568a2c7 100644 --- a/backend/social/okta.py +++ b/backend/social/okta.py @@ -1,6 +1,6 @@ +from allauth.socialaccount.providers.oauth2.client import OAuth2Client from allauth.socialaccount.providers.okta.views import OktaOAuth2Adapter from dj_rest_auth.registration.views import SocialLoginView -from allauth.socialaccount.providers.oauth2.client import OAuth2Client class OktaLogin(SocialLoginView): diff --git a/backend/social/views.py b/backend/social/views.py index 30804ebf..3c2549dc 100644 --- a/backend/social/views.py +++ b/backend/social/views.py @@ -1,6 +1,6 @@ +from django.conf import settings from rest_framework.response import Response from rest_framework.views import APIView -from django.conf import settings class Social(APIView):