Re: django signal and instace..... HELP!!

2010-04-22 Thread Allen Machary
The MeasuredValue gets saved after the sample is saved, Is there another way to still use the sample instance (or force it to save ), Cause the function ( to send msg ) to should be sent only when the sample is created.. Any help will be appriciated. thnx greatlemer -- You received this mes

Re: django signal and instace..... HELP!!

2010-04-20 Thread greatlemer
On Apr 20, 11:35 am, Allen Machary wrote: > Hellow.. > I have a problem on django signal and instances. > i have a right some code that runs a function after a certain model is > created but could not use the instace filter > > Help > > def send_sms_notifications(sender, instance, created, **kwarg

django signal and instace..... HELP!!

2010-04-20 Thread Allen Machary
Hellow.. I have a problem on django signal and instances. i have a right some code that runs a function after a certain model is created but could not use the instace filter Help def send_sms_notifications(sender, instance, created, **kwargs): #get sender, instance, created # TODO: Lookup the