mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 10:20:39 +01:00
Doc: Add ignore info for secret-key env-test
This commit is contained in:
@@ -6,7 +6,8 @@ from .base import *
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
if 'SECRET_KEY' not in os.environ:
|
||||
logging.warning(
|
||||
"No SECRET_KEY given in environ, please have a check"
|
||||
"No SECRET_KEY given in environ, please have a check."
|
||||
"If you have a local_settings file, please ignore this warning."
|
||||
)
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY', "PLEASE_REPLACE_ME")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user