Skip to content

Commit

Permalink
Merge pull request #24 from Shopify/fix-secret
Browse files Browse the repository at this point in the history
Update secret to pull from environment variable
  • Loading branch information
yaworsk committed Dec 19, 2018
2 parents 92d6063 + 6ed16f3 commit afb2ba8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@
os.path.join(SITE_ROOT, 'static'),
)

# Make this unique, and don't share it with anybody.
SECRET_KEY = '#w%yp9_5wnupojr=4o0mwap#!)y=q9ovu=o#xnytga7u5^bf27'
# Make this unique and store it as an environment variable.
# Do not share it with anyone or commit it to version control.
SECRET_KEY = os.environ['DJANGO_SECRET']

# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
Expand Down

0 comments on commit afb2ba8

Please sign in to comment.