Getting last insert id of the object saved by serializer in Django

前端 未结 0 1410
终归单人心
终归单人心 2021-01-20 03:45

I have a visitorSaveSerializer which is responsible for validating the data to be saved:

class VisitorSaveSerializer(serializers.ModelSerializer):

class Meta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题