Re: Create new entry on first save of different model

2010-12-09 Thread Nick
Nevermind. I think I got it. On Dec 9, 3:57 pm, Nick wrote: > Thanks for the reply. I'm working on the override. How to I affect a > model from the save of another model. > > On Dec 9, 3:37 pm, Ilian Iliev wrote: > > > Hi, > > > you can overload the save

Re: Create new entry on first save of different model

2010-12-09 Thread Nick
Thanks for the reply. I'm working on the override. How to I affect a model from the save of another model. On Dec 9, 3:37 pm, Ilian Iliev wrote: > Hi, > > you can overload the save method of Model1 in a way > that it checks type and if it is machine, create two record in Model2.

Re: Create new entry on first save of different model

2010-12-09 Thread Ilian Iliev
Hi, you can overload the save method of Model1 in a way that it checks type and if it is machine, create two record in Model2. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: ilian.i-n-i.org On Thu, Dec 9, 2010 at 11:21 PM, Nick wrote: > I

Create new entry on first save of different model

2010-12-09 Thread Nick
I am working on a project in which I need to evaluate a field in one model and based on its values add entries to another model. I don't quite now how to succinctly put that into words which is why searching for a solution has been so annoying. Here is my example Type_Choices = ( ('Person',