Skip to content

Can't add exempt for Blueprints #134

Open
@marban

Description

@marban

Anyone got a hint how to add a Blueprint's route to the _exempt_views set?
Something like csrf._exempt_views.add("bp_user.someroute")
Importing the root @csrf.exempt decorator in the Blueprint doesn't seem to work either

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