First, determine whether your setting should be a dynamically modifiable django admin model setting instead? If so, it is stored in a django model and available via the django Admin interface - and not explained in this document. Since django-admin-model settings do not require code changes when they need to be changed, they are preferable over code-based django settings (the subject of this wiki). However, code-based django settings should still be used for:
settings that you anticipate will not change (often) for a given openedX deployment: e.g., one-time configuration for storage, external servers, etc.
Determine whether your setting is security-sensitive.
Does it contain a secret key, private key, IP address, etc?
If so, it is an Auth setting.
Otherwise, it is an Env setting.
Add your setting to your envs python file so the setting can be read from the environment. For edx-platform, it would be located in: