From b4e52c181ae87d93ce728fd703c37c6b6864ad2d Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 25 Nov 2019 21:22:34 +0100 Subject: [PATCH] make config doc more explicit explicit what we mean by "not need to be importable". --- docs/source/configure.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/configure.rst b/docs/source/configure.rst index a3fbb635..df5cbe2e 100644 --- a/docs/source/configure.rst +++ b/docs/source/configure.rst @@ -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.