Django Show M2M field in both model forms
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-04-22T09:38:49Z
Indexed on
2010/04/22
9:43 UTC
Read the original article
Hit count: 219
django
|django-forms
Hi
I am using the forms.ModelForm to create my form. I want to be able to show the manytomany field in both model forms, how do I do this?
If the manytomany relationship is defined in the model it is fine and just appears but if it is not in the model (but is still linked via the other model) it does not appear.
Hope this makes sense. How can I make it show up?
Thanks
© Stack Overflow or respective owner