On Mar 26, 11:11 am, Continuation <selforgani...@gmail.com> wrote: > I have 2 models: A, B > > I need a form that inserts/updates both fields of A and fields of B. > > Is there any way to create a ModelForm tied to A & B? Or do I need to > use the plain old Form?
You can use a ModelForm on one, and add the extra fields to it, and handle these in save(). I did this to get some extra behaviour in the admin, although in a user-page I would probably use two forms. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.