Re: [django-users] Custom signals

2011-01-20 Thread Piotr Zalewa
Yes, that was it! pre_copy.send(type(self), instance=self, ... On 01/20/11 01:37, Łukasz Rekucki wrote: > On 20 January 2011 02:00, Piotr Zalewa 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 "sende

Re: [django-users] Custom signals

2011-01-19 Thread Łukasz Rekucki
On 20 January 2011 02:00, Piotr Zalewa 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

[django-users] Custom signals

2011-01-19 Thread Piotr Zalewa
I'm trying to add custom signals to my models. I'm sure I'm missing some step. http://paste.pocoo.org/show/323618/ zalun -- blog http://piotr.zalewa.info jobs http://webdev.zalewa.info twit http://twitter.com/zalun face http://facebook.com/zaloon -- You received this message because you ar