You can do exactly that by specifying a sender:

https://docs.djangoproject.com/en/1.3/topics/signals/#connecting-to-signals-sent-by-specific-senders

Also, note that the sender is available in the receiver because it's always the first argument sent by the signal, so you can have a function that hears all signals but choose to do something different (or abort) depending on the sender.


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

  • signals rafiee.nima
    • Re: signals Shawn Milochik

Reply via email to