From 54f25a31f3ca2721ab6526255f03d8415fb9a1fd Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Mon, 29 May 2017 20:08:03 -0600 Subject: [PATCH] Get key from env. --- bikeshop_project/bikeshop/settings/development.py | 2 +- bikeshop_project/bikeshop/settings/production.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bikeshop_project/bikeshop/settings/development.py b/bikeshop_project/bikeshop/settings/development.py index ada4260..1677574 100644 --- a/bikeshop_project/bikeshop/settings/development.py +++ b/bikeshop_project/bikeshop/settings/development.py @@ -55,5 +55,5 @@ CORS_ORIGIN_ALLOW_ALL = True ALLOWED_HOSTS = ['workstand.docker', 'localhost'] -MAILCHIMP_API_KEY = '78ee4eb990c5646256aac6c3b6a4e966-us7' +MAILCHIMP_API_KEY = os.environ.get('MAILCHIMP_API_KEY') MAILCHIMP_USERNAME = 'drew@bcbc.bike' diff --git a/bikeshop_project/bikeshop/settings/production.py b/bikeshop_project/bikeshop/settings/production.py index 5cd41d6..64828a5 100644 --- a/bikeshop_project/bikeshop/settings/production.py +++ b/bikeshop_project/bikeshop/settings/production.py @@ -65,5 +65,5 @@ ROLLBAR = { rollbar.init(**ROLLBAR) -MAILCHIMP_API_KEY = 'c6bba083fb5adc45a317dfb149d3676a-us7' +MAILCHIMP_API_KEY = os.environ.get('MAILCHIMP_API_KEY') MAILCHIMP_USERNAME = 'drew@bcbc.bike'