On 02/11/12 08:00, Fabio Natali wrote:
Hi!

Snippet: http://dpaste.com/822354/

In the admin I make use of a tabular inline to possibly create Product
and Component objects at the same time.
[...]

I ended up using signals, which looks like an obvious solution now. Whenever I save or delete a component a post_save or post_delete signal is sent and my product total price is calculated again.

Cheers! Fabio.


--
Fabio Natali

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@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