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

login_required can pass arguments to callback view #1

Open
jonas-grgt opened this issue Apr 24, 2013 · 0 comments
Open

login_required can pass arguments to callback view #1

jonas-grgt opened this issue Apr 24, 2013 · 0 comments

Comments

@jonas-grgt
Copy link

The login_required decorator can pass arguments, received from the view initially called, to the view that has been defined as callback.

One solution would be to simply add **kwargs to the parameters of the callback function.

This could be caught more gracefully. I was thinking about catching the exception but not sure what's your point of view on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant