#7018: Make ModelForm multiple inheritance possible --------------------------------------------------+---------------------- Reporter: bear330 | Owner: nobody Status: new | Milestone: Component: Forms | Version: SVN Resolution: | Keywords: Triage Stage: Design decision needed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | --------------------------------------------------+---------------------- Changes (by Ciantic):
* cc: ciantic@… (added) Comment: This is especially needed as the class based views does not support views with multiple forms. I have models and forms that are joined together with `ForeignKey` or `OneToOne`, e.g. I have models: `User`, `UserProfile`, `TwitterProfile`, `FacebookProfile`, but there is no easy way to write views, it would be handy if I could just simply combine the forms as one form. There is also requirement to combine formset and form in one view, e.g. billing view where `InvoiceForm` and `InvoiceRowFormset` should be joined. They do implement rather similar interface (save, clean, etc) but creating good class based views that support multiple forms in addition to formsets in one view needs more thinking. -- Ticket URL: <http://code.djangoproject.com/ticket/7018#comment:11> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.