How to create instance with pre-populated ChoiceField in form

前端 未结 0 390
梦谈多话
梦谈多话 2020-11-30 12:58

This is my forms.py. I want to create instance with default \'V\' choice into my model. So instance was created, but with choice \'A\', which i provided in model for default

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