I used to run a small website for my campus's library employees ran with Django. So take this with a grain of salt.
We would keep all common settings in a settings.py and then have a nonprod_settings.py and prod_settings.py. You can then point to the environment specific settings.py with:
For common settings, at the bottom of our environmental settings we would from common_settings import *.
from common_settings import *
Info here: https://docs.djangoproject.com/en/2.1/topics/settings/.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.