Skip to content

Commit

Permalink
remove Django secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
rishisankar authored Aug 13, 2021
1 parent 65dbf2b commit 9281df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knovigo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "$+&8$i#*#+d$^2+b!y^ykydxh1$@#t^$7y@#3h^6f5^pnqgoct"
SECRET_KEY = os.getenv('DJANGO_SECRET_KEY')

# SECURITY WARNING: don't run with debug turned on in production!
if os.getenv('DJANGO_ENV') == 'prod':
Expand Down

0 comments on commit 9281df6

Please sign in to comment.