bread-and-pepper/django-userena — Issue #122: Pass username to activate's success_url
Author: alex-marandon
Created: 2011-11-15 16:42:03+00:00
State: open

Hi there!

Would it be possible to pass a custom success URL to views.activate that would take a username as a parameter, just like the default userena_profile_detail does? Our use case is that we're redirecting users to their profile edit screen upon activation, rather than their profile details page. I've managed to get it working using a static success_url that gets the username from the request object and redirects to our profile edit page, but ideally it would be nice to be able to customize the activation success_url with a URL that takes a username parameter, the same that the USERENA_SIGNIN_REDIRECT_URL does it.

Anyway thanks for the great work. You've got a good looking website and good docs!

Cheers,
Alex