示例#1
0
 def get_serializer_class(self, request):
     Model = self.get_model(request)
     return get_model_serializer(Model)
示例#2
0
 def get_serializer_class(self):
     Model = self.get_model()
     return get_model_serializer(Model)