阅读背景:

Django:使用ModelForm编辑现有的数据库条目

来源:互联网 

I have created a ModelForm class to be able to create and edit database entries. Creating new entries works well, however, i dont know how to use ModelForms to edit/update an existing entry. I can instantiate a ModelForm with a database instance using:I have created a ModelForm class to be able to




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

分享到: