mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
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:
parent
43b8687ceb
commit
bcb3c003d4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user