概要 Django REST Frameworkに再挑戦 その20 Base APIView for User Login 参考サイト www.django-rest-framework.org www.codingforentrepreneurs.com Base APIView for User Login UserLoginSerializerというclassを新たに作成する。 class UserLoginSerializer(ModelSerializer): token = CharField(allow_blank=True, …