Re: Call a function after a model with inlines is created [solved]

2010-11-08 Thread Martin Tiršel
On Sun, 31 Oct 2010 20:15:19 +0100, Daniel Roseman wrote: On Oct 31, 4:46 pm, Martin Tiršel wrote: If this is only needed for the admin, you probably want to override the ModelAdmin's response_add method. This is called after the add form has

Re: Call a function after a model with inlines is created

2010-10-31 Thread Daniel Roseman
On Oct 31, 4:46 pm, Martin Tiršel wrote: > Hello, > > I have two models BillingRequest and BillingRequestItem. I am using admin   > and inlines, so when I am creating BillingRequest, I have some fields for   > BillingRequestItems. Now, I need to send an email with some

Call a function after a model with inlines is created

2010-10-31 Thread Martin Tiršel
Hello, I have two models BillingRequest and BillingRequestItem. I am using admin and inlines, so when I am creating BillingRequest, I have some fields for BillingRequestItems. Now, I need to send an email with some information from both models when I create new BillingRequest record. But I