We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do you have a tip, how to disable csrf for some views? I try to implement this: ` from flask_wtf import CSRFProtect csrf = CSRFProtect()
@csrf.exempt
@api.route(git, '/string:project_name/git-receive-pack', methods=('POST',))
def git_receive_pack(project_name): `
But decorator doesn't work for me. Is the a parameter for the api.route?
The text was updated successfully, but these errors were encountered:
Off the top of my head I'd guess trying to place the route decorator on the top? Can look more closely when I get to a computer
Sorry, something went wrong.
Did not work for me, not on top, not on bot.
No branches or pull requests
Do you have a tip, how to disable csrf for some views?
I try to implement this:
`
from flask_wtf import CSRFProtect
csrf = CSRFProtect()
@csrf.exempt
@api.route(git, '/string:project_name/git-receive-pack', methods=('POST',))
def git_receive_pack(project_name):
`
But decorator doesn't work for me.
Is the a parameter for the api.route?
The text was updated successfully, but these errors were encountered: