Skip to content

Application Factory guidance #372

Discussion options

You must be logged in to vote

It's a bit difficult without looking at your code, but you could create a file with something like app/main.py that does something like this:

from .some_module import create_app

app = create_app()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #251 on August 29, 2024 00:17.