How can I set success_url based on a parameter? I really want to go back to where I came from, not some static place. In pseudo code:
success_url
url(r
Why don't you add a 'next' parameter to your form (template) and catch it in your view. It's common practice to achieve redirecting this way.