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:
committed by
Abhilash Raj
parent
525604bac4
commit
39fd5c6b25
@@ -23,6 +23,8 @@ These are the settings that you MUST change before deploying:
|
||||
|
||||
- `MAILMAN_ADMIN_EMAIL`: The email for the admin user to be created by default.
|
||||
|
||||
- `SECRET_KEY`: Django's secret key, mainly used for signing cookies and others.
|
||||
|
||||
These are the settings that are set to sane default and you do not need to
|
||||
change them unless you know what you want.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user