Answer the question
In order to leave comments, you need to log in
How to properly initialize uWSGI if it's callable is in another function?
uWSGI wants a callable object for input. Right now my code looks like
main.py: app = create_app()
and is called like this:
uwsgi --http :9000 --wsgi-file main.py --callable app
def main():
app = create_app()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question