Re: Connecting a django-registration signal to a function

2010-08-24 Thread Alex
Hi Kai, I have done this very similarly(after a lot of wrong ideas). I now have it working using 'connect' instead of 'send' def user_profile(sender, user, request, **kwargs): profile = UserProfile(user= user) profile.save() from registration.signals import user_activated user_activated.

Re: Connecting a django-registration signal to a function

2010-08-24 Thread Kai Timmer
On 23 Aug., 16:51, Kai Timmer wrote: > Whats the problem here? Really? Is no one able to point me in the right direction here? Or is the question just to stupid? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send em

Connecting a django-registration signal to a function

2010-08-23 Thread Kai Timmer
Hello, this may sound stupid, but all I want to do is to connect the user_activated signal from django-registration to a simple function. And I think that I missed an important part. I have a signals.py file in my django app with a function create_db which is defined like this: def create_db(send