how to get instance of a model form and assign it to its key in view?

前端 未结 0 989
刺人心
刺人心 2021-01-06 00:46

During form processing, I\'d like to be able to set a foreign key field on a model object from its base model when the user selects a value from the dropdown list.

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