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 ?