Gunicorn can’t find app when name changed from “application”
Gunicorn (and most WSGI servers) defaults to looking for the callable named application in whatever module you point it at. Adding an alias from myproject import myapp as application or application = myapp will let Gunicorn discover the callable again. However, the wsgi.py file or the alias aren’t needed, Gunicorn can be pointed directly at … Read more