I have a Parent model having some Child objects edited as an inline in
the change view of the Parent.
I want to write some data in a Parent's field which is a calculation
based on some other field of all its Child objects.
I think i have to intercept child data in the save_model or
save_formset methods of ParentAdmin class but I'm not sure which one
of the two I have to modify and what is the way to do it.
How would you do it?

I'd prefer to don't show the Parent's calculated field in the page.
This means I would not include this field in the MyParentAdminForm
class

Thank you!

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