From 9fca348e02772ede9bf86cce9580afae6841b64c Mon Sep 17 00:00:00 2001 From: pwhipp Date: Sun, 26 Oct 2014 10:09:17 +1000 Subject: [PATCH] Ease S3 switching for testing (#187) --- core/settings/paul.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/settings/paul.py b/core/settings/paul.py index 6d55d9f..9f28a17 100644 --- a/core/settings/paul.py +++ b/core/settings/paul.py @@ -3,5 +3,8 @@ SITE_TITLE = 'Local Cross-Cultural Consulting' SITE_TAGLINE = None -# AWS_STORAGE_BUCKET_NAME = "pwc-cccs-dev" -AWS_STORAGE_BUCKET_NAME = "cccs-docs" \ No newline at end of file +# Overwrite AWS settings depending upon what I'm up to +# AWS_OVERRIDES is set in my secrets.py. It overrides +# AWS_STORAGE_BUCKET_NAME, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY +# Can't do this in secrets.py because other settings set the values. +globals().update(AWS_OVERRIDES)