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
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.
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
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',
4 matches
Mail list logo