阅读背景:

在Django中,如何从模型/子项预填充编辑表单,但将提交保存为新实例?

来源:互联网 

I'm trying to prepopulate a ModelForm and an inlineformset_factory with an instance of a Model, BUT when the user submits the form, I need to create a new instance of the Model and it's related child records.I'm trying to prepopulate a ModelForm and an in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: