标签:set mod turn font class elf family *args sel
class PublsherMixView(mixins.ListModelMixin,
mixins.CreateModelMixin,
generics.GenericAPIView):
queryset = models.Publisher.objects.all()
serializer_class = seria.PublisherModelSerializer
def get(self,request,*args,**kwargs):
return self.list(request,*args,**kwargs)
def post(self,request,*args,**kwargs):
return self.create(request,*args,**kwargs)
标签:set mod turn font class elf family *args sel
原文地址:https://www.cnblogs.com/chvv/p/10054302.html