Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom redirect url from the 'switch' view #24

Merged
merged 1 commit into from Feb 28, 2013

Conversation

spearki
Copy link
Contributor

@spearki spearki commented Feb 25, 2013

The 'login' view currently accepts a parameter specifying the
URL to redirect to after a successful login (via ?next=). This
adds the same support for the 'switch' view by reusing a couple
of lines of code from the Django login view.

The 'login' view currently accepts a parameter specifying the
URL to redirect to after a successful login (via ?next=). This
adds the same support for the 'switch' view by reusing a couple
of lines of code from the Django login view.
gabrielhurley added a commit that referenced this pull request Feb 28, 2013
Support custom redirect url from the 'switch' view
@gabrielhurley gabrielhurley merged commit 2fabeb8 into gabrielhurley:master Feb 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants