On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez <gufym...@gmail.com> wrote:
> I don't know about django-profiles, but django-registration provides a couple
> signals, user_registered and user_activated. By connecting a handler to
> either one of these singals you can redirect the users to the profile form
> page.
>
> for info on using singals:
> http://docs.djangoproject.com/en/dev/topics/signals/

Thanks Mike,
I can't imagine how to redirect to the profile form page from within a
signal handler (you don't have the request object)

I'm thinking about writing a custom middleware/process_request() which
redirects you to the profile form page if  the current logged in user
does not have a profile associated. It sounds a bit overkill though.

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