views MyTokenObtainPairView Bases: TokenObtainPairView Source code in users/views.py 5 6class MyTokenObtainPairView(TokenObtainPairView): serializer_class = MyTokenObtainPairSerializer serializer_class = MyTokenObtainPairSerializer class-attribute