Skip to content

The "Application Discover" section in cli docs contains inconsistently description #3998

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

Closed
greyli opened this issue May 6, 2021 · 0 comments · Fixed by #3999
Closed

The "Application Discover" section in cli docs contains inconsistently description #3998

greyli opened this issue May 6, 2021 · 0 comments · Fixed by #3999
Labels

Comments

@greyli
Copy link
Member

greyli commented May 6, 2021

The description for "FLASK_APP not set" seems misleading and fuzzy:

(nothing)
The file wsgi.py is imported, automatically detecting an app (app). This provides an easy way to create an app from a factory with extra arguments.

The actual behaviour when FLASK_APP is not set is importing the name app or wsgi not only wsgi.py, and it's unrelated with factory arguments.

https://flask.palletsprojects.com/en/master/cli/

@greyli greyli added the docs label May 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant