in the README `class LoginView(CreateAPIView): ..... ` For a novice trying to copy and paste the code to test/making things work, the LoginView inheriting from CreateApiView can be misleading.