update readme & usage

This commit is contained in:
Benoit Chesneau 2009-12-27 15:02:07 +01:00
parent a925c045be
commit 0b8d51d116
2 changed files with 10 additions and 1 deletions

View File

@ -27,5 +27,14 @@ Example with test app :
$ cd examples
$ gunicorn --workers=2 test:app
For django projects use the `gunicorn_django` command.
$ cd yourdjangoproject
$ gunicorn_django --workers=2

View File

@ -32,7 +32,7 @@ import sys
import django.core.handlers.wsgi
import gunicorn
__usage__ = "%prog [OPTIONS] APP_MODULE"
__usage__ = "%prog [OPTIONS]"
PROJECT_PATH = os.getcwd()
PROJECT_NAME = os.path.split(PROJECT_PATH)[-1]