Skip to content

login_required can pass arguments to callback view  #1

Description

@jonas-grgt

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions