I have such models: Article, Link & ArticleLink. Article can have many links attached to it and I need to save them from one form.
I have created all the relations and a ModelForm for Article, but the trick part is that links have two fields: Name and URL. I can't figure out what kind of form structure must be used, I tried hidden inputs with name "links[name]" and "links[url]" but did not work.
Where should I look? Is there any working example for this? Django docs does not help with this particular situation.