text: from allauth.socialaccount.providers.facebook.views import FacebookOAuth2Adapter
  from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter
  from rest_auth.registration.views import SocialLoginView
  
  
  class FacebookLogin(SocialLoginView):
      adapter_class = FacebookOAuth2Adapter
  
  
  class GoogleLogin(SocialLoginView):
      adapter_class = GoogleOAuth2Adapter
  