1
The gunicorn command expect the argument to be <python package>:<wsgi identifier>
, so following this common project structure:
my_project_folder
|-my_project
| |-__init__.py
| |-wsgi.py
| |-settings.py
the command would be my_project.wsgi:application
, the trick is identifying the package by looking for the __init__.py
file.
Source:stackexchange.com