1๐
I guess it would depend on how frequently this information gets updated. If this is something that is set once per environment and not really updated while the server is running, I would just suggest to stick it into local_settings.py and just import from it in your settings.py.
If this does change while the server is running or is more dynamic, I would say to use an external system for management of this.
๐คnick_v1
Source:stackexchange.com