News for hackers. Stuff that matters.
Re:Eighteen months of Django by scott_w on Wednesday May 08, 2013 @05:42AM (#5673315)
Ah, I see now. For certain cases e.g. repeating the same form over and over, you can use formsets, but that doesn't work when you have two different forms.

I still think a solution is to use multiple forms and form types rather than one big form. Perhaps you can prefix the field names on the template and use that to determine which form they go to inside the view. It makes your logic a little simpler in any case.

Re:Eighteen months of Django by masklinn on Wednesday May 08, 2013 @06:09AM (#5673379)
Note that one thing you can do is build smaller forms and mix them up. There's no issue with mixing up 3 or 4 smaller (django) forms in the same (HTML) form, quite the opposite.