Browse Source

Get key from env.

feature/upgrade-admin-visits
Drew Larson 8 years ago
parent
commit
54f25a31f3
  1. 2
      bikeshop_project/bikeshop/settings/development.py
  2. 2
      bikeshop_project/bikeshop/settings/production.py

2
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'

2
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'

Loading…
Cancel
Save