It would be great to have a settings file containing production level settings only.
This would be used with the corresponding requirements file i.e. requirements/PRODUCTION
This can import from settings/common.py and add only production-relevant settings
e.g. ALLOWED_HOSTS
This would also be the most relevant to set as the DJANGO_SETTINGS_MODULE in wsgi.py
It would be great to have a settings file containing production level settings only. This would be used with the corresponding requirements file i.e.
requirements/PRODUCTION
This can import from
settings/common.py
and add only production-relevant settings e.g. ALLOWED_HOSTSThis would also be the most relevant to set as the DJANGO_SETTINGS_MODULE in
wsgi.py