Remove default value of SECRET_KEY in Django's settings.py (#102)

The default value of SECRET_KEY was hard-coded in the settings.py which would turn out to be used all the time even if people are not forced to change it. So this commit removes that value and instead gets the SECRET_KEY from the environment variable.

Closes #99
This commit is contained in:
Tatsuyuki Ishi
2017-07-27 17:40:14 +09:00
committed by Abhilash Raj
parent 525604bac4
commit 39fd5c6b25
5 changed files with 13 additions and 1 deletions

View File

@@ -16,4 +16,6 @@ services:
mailman-web:
image: maxking/mailman-web:$TAG
environment:
- SECRET_KEY=abcdefghijklmnopqrstuv
EOF