I have created a custom user model in Django. Now I\'m authenticating with the below code.
class Login(APIView): def post(self,request): email =