DRF: Using Serializer field 'fields'

后端 未结 0 1334
一整个雨季
一整个雨季 2020-12-08 19:22

I want to use a serializer having the field fields:

class MySerializer(Serializer):
    fields = CharField(required=True)

But

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