Re: "connect a function to the signal"

2009-01-25 Thread boyombo
On Jan 23, 9:56 pm, "bax...@gretschpages.com" wrote: > > I think what you want to do is: > > > user_activated.connect(create_site_user) > > Thanks. But where, after the send(), or in the signal? just a line of code. i use models.py where i define the func, import user_activated, then: user_ac

Re: "connect a function to the signal"

2009-01-23 Thread bax...@gretschpages.com
> I think what you want to do is: > > user_activated.connect(create_site_user) Thanks. But where, after the send(), or in the signal? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: "connect a function to the signal"

2009-01-23 Thread boyombo
I think what you want to do is: user_activated.connect(create_site_user) --~--~-~--~~~---~--~~ 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 un

"connect a function to the signal"

2009-01-23 Thread bax...@gretschpages.com
... url(r'^$', register, {'profile_callback': create_site_user}, name='registration_register'), In .7 the docs say "connect a function to the signal" but I guess I don't understand. I have the signal user_activated = Signal(p