From 678d510e29a42263cf90fcf8ec1a417457fb4a65 Mon Sep 17 00:00:00 2001 From: Sanket Dasgupta Date: Mon, 3 Jul 2017 16:22:36 +0530 Subject: [PATCH] config.rst: Include environment variable in list of paths (#539) Closes https://github.com/pretix/pretix/issues/528 --- doc/admin/config.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/admin/config.rst b/doc/admin/config.rst index d8ef73b49..a4bbd4690 100644 --- a/doc/admin/config.rst +++ b/doc/admin/config.rst @@ -10,9 +10,10 @@ at the following locations. It will try to read the file from the specified path the following order. The file that is found *last* will override the settings from the files found before. -1. ``/etc/pretix/pretix.cfg`` -2. ``~/.pretix.cfg`` -3. ``pretix.cfg`` in the current working directory +1. ``PREFIX_CONFIG_FILE`` environment variable +2. ``/etc/pretix/pretix.cfg`` +3. ``~/.pretix.cfg`` +4. ``pretix.cfg`` in the current working directory The file is expected to be in the INI format as specified in the `Python documentation`_.