Noticed a few "required" settings like ADMIN and email settings that are only important for production. I prefer to keep settings declarative and avoid conditional logic which can hide errors. People don't usually write tests for their configurations, so it's best to keep it simple and declarative.
By default, the development.py settings are used. In production we'll set DJANGO_SETTINGS_MODULE=showChime.settings.production to use the production settings.
Noticed a few "required" settings like ADMIN and email settings that are only important for production. I prefer to keep settings declarative and avoid conditional logic which can hide errors. People don't usually write tests for their configurations, so it's best to keep it simple and declarative.
By default, the
development.py
settings are used. In production we'll setDJANGO_SETTINGS_MODULE=showChime.settings.production
to use the production settings.