Skip to content

Commit 8a9e942

Browse files
committed
Move seckey from settings.py to environment variable
1 parent 37e8c57 commit 8a9e942

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

issue_tracker/settings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
2929

3030
# SECURITY WARNING: keep the secret key used in production secret!
31-
SECRET_KEY = os.environ.get(
32-
'SECRET_KEY', 'r81y2+3y=qlb(=0-77rx3k07-8kqdqum5*rn@5a@j8ww194%5f')
31+
SECRET_KEY = os.environ.get('SECRET_KEY')
3332

3433
# SECURITY WARNING: don't run with debug turned on in production!
3534
DEBUG = development

0 commit comments

Comments
 (0)