Fix default for secret_key in configuration.py
This commit is contained in:
parent
d0c7b87925
commit
2dba2b8811
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ REDIS = {
|
||||||
# For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and
|
# For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and
|
||||||
# symbols. NetBox will not run without this defined. For more information, see
|
# symbols. NetBox will not run without this defined. For more information, see
|
||||||
# https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-SECRET_KEY
|
# https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-SECRET_KEY
|
||||||
SECRET_KEY = _read_secret('secret_key', environ.get('SECRET_KEY'))
|
SECRET_KEY = _read_secret('secret_key', environ.get('SECRET_KEY', ''))
|
||||||
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue