diff options
author | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-09 12:12:37 +0000 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-14 16:26:03 +0000 |
commit | 7667078e643e02abc4475742894582d2fd3aab54 (patch) | |
tree | 943d84b3600b42ef322a76081847e688191946d3 /patchwork/wsgi.py | |
parent | 8d48e8ccf6e21c0ecf1b1a6eaf9fcfd0584902e9 (diff) | |
download | patchwork-7667078e643e02abc4475742894582d2fd3aab54.tar patchwork-7667078e643e02abc4475742894582d2fd3aab54.tar.gz |
settings: Use environment variables by default
The Django documentation suggests using environment variables as a way
to allow devs to commit settings files via source control without
including confidential information therein [1]. As such, change the
provided 'production' settings to do this. This should promote best
practices while also ensuring provisioning tools like
'ansible-django-stack' [2] work as expected.
[1] https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
[2] https://github.com/jcalazan/ansible-django-stack
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/wsgi.py')
-rw-r--r-- | patchwork/wsgi.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/patchwork/wsgi.py b/patchwork/wsgi.py index c304830..714ea12 100644 --- a/patchwork/wsgi.py +++ b/patchwork/wsgi.py @@ -22,7 +22,6 @@ # Released under the GNU General Public License v2 or later. import os -import sys from django.core.wsgi import get_wsgi_application |