While fiddling with settings files I noticed it might make sense to enforce setting SECRET_KEY and other confidential data in dev.py and local.py but not in base.py.
This will make sure:
Developers share the default settings by using dev.py
Production server data will never be committed (neither in base.py nor in production.py) but instead set in its local.py
While fiddling with settings files I noticed it might make sense to enforce setting
SECRET_KEY
and other confidential data indev.py
andlocal.py
but not inbase.py
.This will make sure:
dev.py
base.py
nor inproduction.py
) but instead set in itslocal.py
Does this make sense at all?