Hi

I have two models, Model1 and Model2.
Model2 appears as inline in Model2.

Instances of Model2 has a 'parent' field so I have a parent-child
relationship.
Instances with the parent field set should appear as part of the
parent instance and removed from the formset.
I'll add a ModelMultipleChoiceField to the parent instance form and
validate it dynamically.

How can I iterate over all the the m2m instances and move the m2m
children to the parent field?
What function do I need to override to achieve this?

What function do I need to override for custom validation of an inline
form?

Thanks

-- 
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.

Reply via email to