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: Mention how zproject.settings gets into django.conf.settings.

Alex Vandivercaa7d7ad0b89
diff --git a/docs/subsystems/settings.md b/docs/subsystems/settings.md
index faa42484bf2..efc1001c754 100644
--- a/docs/subsystems/settings.md
+++ b/docs/subsystems/settings.md
@@ -45,7 +45,12 @@ $ ./scripts/get-django-setting EMAIL_GATEWAY_PATTERN
%s@localhost:9991
```
-Zulip has separated those settings that we expect a system
+The `DJANGO_SETTINGS_MODULE` environment variable is set to
+`zproject.settings`, which is what tells Django to effectively import
+`zproject.settings.*` into `django.conf.settings` to make them
+accessible there.
+
+However, Zulip has separated those settings that we expect a system
administrator to change (with nice documentation) from the ~1000 lines
of settings needed by the Zulip Django app. As a result, there are a
few files involved in the Zulip settings for server administrators.