Skip to content
New issue

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

Don't set DEBUG in our config #199

Open
rsyring opened this issue Jul 17, 2024 · 0 comments
Open

Don't set DEBUG in our config #199

rsyring opened this issue Jul 17, 2024 · 0 comments

Comments

@rsyring
Copy link
Member

rsyring commented Jul 17, 2024

https://flask.palletsprojects.com/en/3.0.x/config/#debug-mode

While it is possible to set DEBUG in your config or code, this is strongly discouraged. It can’t be read early by the flask run command, and some systems or extensions may have already configured themselves based on a previous value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant