mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
config.rst: Include environment variable in list of paths (#539)
Closes https://github.com/pretix/pretix/issues/528
This commit is contained in:
committed by
Raphael Michel
parent
1fc3307d22
commit
678d510e29
@@ -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 following order. The file that is found *last* will override the settings from
|
||||||
the files found before.
|
the files found before.
|
||||||
|
|
||||||
1. ``/etc/pretix/pretix.cfg``
|
1. ``PREFIX_CONFIG_FILE`` environment variable
|
||||||
2. ``~/.pretix.cfg``
|
2. ``/etc/pretix/pretix.cfg``
|
||||||
3. ``pretix.cfg`` in the current working directory
|
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`_.
|
The file is expected to be in the INI format as specified in the `Python documentation`_.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user