开发者

using a Django ModelForm doesn't want to work well with a ManyToManyField

I have a ManyToManyField in a model which uses the 'through' option. Using a Django ModelForm, this seems to be failing giving me a funny error about having to use the model's manager.

I want to be able to edit this inline (i think the admin lets me do this) and looked up it on google, but everything to use this Django Inline Forms is really messy and I want to be able to keep my code clean and unders开发者_JS百科tandable.

Thanks, Joe


I just got my head around inline forms. The documentation is just silly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜