Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Secret reading is done using RawConfigParser, not ConfigParser.

Alex Vandiverab8be84b368d
diff --git a/docs/subsystems/settings.md b/docs/subsystems/settings.md
index f174067ae23..9db63818d54 100644
--- a/docs/subsystems/settings.md
+++ b/docs/subsystems/settings.md
@@ -68,11 +68,12 @@ In a production environment, we have:
- `/etc/zulip/zulip-secrets.conf` (generated by
`scripts/setup/generate_secrets.py` as part of installation)
contains secrets used by the Zulip installation. These are read
- using the standard Python `ConfigParser`, and accessed in
- `zproject/computed_settings.py` by the `get_secret` function. All
- secrets/API keys/etc. used by the Zulip Django application should be
- stored here, and read using the `get_secret` function in
- `zproject/config.py`.
+ using the [standard Python
+ `RawConfigParser`](https://docs.python.org/3/library/configparser.html#configparser.RawConfigParser),
+ and accessed in `zproject/computed_settings.py` by the `get_secret`
+ function. All secrets/API keys/etc. used by the Zulip Django
+ application should be stored here, and read using the `get_secret`
+ function in `zproject/config.py`.
- `zproject/settings.py` is the main Django settings file for Zulip.
It imports everything from `zproject/configured_settings.py` and