Example application's module and WSGI callable is actually test:app

This commit is contained in:
Jonas Nockert 2010-03-17 19:22:36 +01:00 committed by benoitc
parent d63b6015ef
commit 20c0f03843

View File

@ -14,9 +14,9 @@ WSGI applications
Thirty seconds to launch the `example application`_ packaged with Gunicorn::
$ cd /path/to/gunicorn/examples/
$ gunicorn --workers=2 test:application
$ gunicorn --workers=2 test:app
The module ``test:application`` specifies the complete module name and WSGI callable. You can replace it with anything that is available on your ``PYTHONPATH`` like such::
The module ``test:app`` specifies the complete module name and WSGI callable. You can replace it with anything that is available on your ``PYTHONPATH`` like such::
$ cd ~/
$ gunicorn --workers=12 awesomeproject.wsgi.main:main_app