obj = Workflow.objects.create(**validated_data)
时间: 2024-06-03 13:07:35 浏览: 152
This line creates a new instance of the Workflow model using the data passed in as the validated_data parameter. The double asterisk notation (**) unpacks the dictionary so that its key-value pairs can be used as arguments for the create method. The created Workflow instance is then assigned to the obj variable.
阅读全文