doc: let django user know about the DJANGO_SETTINGS_MODULE env

improve the documentation to show the usage of the DJANGO_SETTINGS_MODULE
environment variable. related to #802.
This commit is contained in:
benoitc 2014-07-26 10:28:48 +02:00
parent 43b8687ceb
commit bcb3c003d4

View File

@ -64,7 +64,7 @@ callable that should be found in the specified module.
So for a typical Django project, invoking gunicorn would look like:
gunicorn myproject.wsgi:application
gunicorn --env DJANGO_SETTINGS_MODULE=myproject.settings myproject.wsgi:application
(This requires that your project be on the Python path; the simplest way
to ensure that is to run this command from the same directory as your