diegotoral / generator-django

A Yeoman generator for Django.
MIT License
78 stars 16 forks source link

Add production settings #54

Closed kevgathuku closed 7 years ago

kevgathuku commented 9 years ago

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