I'm trying to understand the best way to redirect a user to their profile once they successfully login to the application.
I'm using django-profiles to manage a custom user profile. By default, the redirect url is specified in settings.py as LOGIN_REDIRECT_URL. However, the url entry in the django-profiles app is looking for a url pattern such as this: /profile/<username>. How can I redirect to that type of URL after a successful login? I guess the answer to that immediate question is simple, but couple my question with the fact that I'm using the pinax account app that handles the logging in. I can set the 'success_url' but I cannot set the <username> parameter to the profiles url when doing that. I guess the hard dependency in my question is the pinax account application. How do other's tie together their account+profile apps? Do they rely on and build around the django contrib account implementation? and couple with django- profiles? Any discussion around this topic would be most helpful. Thanks, Christian -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

