On 20 January 2011 02:00, Piotr Zalewa <zal...@gmail.com> wrote:
> I'm trying to add custom signals to my models.
> I'm sure I'm missing some step.
>
> http://paste.pocoo.org/show/323618/
>

The "sender" argument in receiver() must match the one in send()
(using identity). In receive() you're using a class, while in send()
you're passing an instance of that class, so they have no chance of
matching.

Try:

    post_copy.send(sender=type(self), copied_to=new_version)

-- 
Łukasz Rekucki

-- 
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.

Reply via email to