阅读背景:

使用ForeignKey保存Django ModelForm

来源:互联网 

This is probably a fairly simple question, but I can't seem to figure it out from the Django Docs. I'm trying to save a two ModelForms at once with one being a ForeignKey of another. I'm not sure how to write the logic in the views to ensure these go together properly.This is probably a fairly simple question, but




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

分享到: