Wednesday, October 5, 2011

post_add signal for non m2m

Dear All ..

I read https://docs.djangoproject.com/en/1.2/topics/signals/
Looks like there is no "post_add" signal can be catched by listener
function.

Is that true ?
I need to do some jobs each time a record is added to a model.
This model is not m2m, it's just a parent or child of one-2-many model.
post_add will : do a http GET call to kannel sendsms interface

How to achieve this ?

Kindly please give me your enlightment.

Sincerely
-bino-

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate