How come I can set these fields with Postman even though my perform_create method is setting these fields at save with the requested user?

前端 未结 0 1279
野趣味
野趣味 2020-12-22 04:03

Here is my serializer

class ItemSerializer(serializers.ModelSerializer):
    class Meta:
        model = Item
        fields = \'__all__\'

My

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