Do you need validation that ties between fields in both models?
If not, just pass each form into the template individually.
A newforms form will only pay attention to POST keys that match its
own fields, so the others will just be ignored, and everything just
works :)
--~--~-~--~~-
I am trying to create a form for a couple of models:
PubForm = forms.form_for_model(Publication)
CopyForm = forms.form_for_model(Copy)
class PubCopyForm(PubForm, CopyForm):
pass
I would expect to see a combination of the Copy and Publication fields
in the form but I only see Publicatio
2 matches
Mail list logo