Closed khandelwal closed 9 years ago
Something that's worked well for us on peacecorps is to continue to separate vars into production
, dev
, etc. settings files, but use env vars to switch between them (DJANGO_SETTINGS
). This probably wouldn't make sense between staging and production, though.
This pull request makes some settings into environment variables https://github.com/18F/foia-hub/pull/512/files and encourages the use of autoenv.
Currently we use a local_settings.py file to contain settings such as database connection information. Let's change that to use environment variables.
This task is complete when: