Access choices in serializer with a CharField

前端 未结 0 1089
礼貌的吻别
礼貌的吻别 2021-02-09 20:41

I have a CharField , which is empty, but I have added a method inside the models to get for me the choices, how can I attach the choices in the serializer field ?

Below i

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