make config doc more explicit

explicit what we mean by "not need to be importable".
This commit is contained in:
benoitc 2019-11-25 21:22:34 +01:00 committed by Benoit Chesneau
parent 9a3e008eca
commit b4e52c181a

View File

@ -53,9 +53,9 @@ Configuration File
The configuration file should be a valid Python source file with a **python
extension** (e.g. `gunicorn.conf.py`). It only needs to be readable from the
file system. More specifically, it does not need to be importable. Any Python
is valid. Just consider that this will be run every time you start Gunicorn
(including when you signal Gunicorn to reload).
file system. More specifically, it does not have to be on the module path
(sys.path, PYTHONPATH). Any Python is valid. Just consider that this will be
run every time you start Gunicorn (including when you signal Gunicorn to reload).
To set a parameter, just assign to it. There's no special syntax. The values
you provide will be used for the configuration values.