Skip to content

login_required can pass arguments to callback view  #1

@jonas-grgt

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 ?

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