Added a secret key to settings.py for development use. NOT for production use; that needs to go in settings_local.py
- Legacy-Id: 7234
This commit is contained in:
parent
e593d9d640
commit
612085779b
|
@ -393,6 +393,15 @@ USE_ETAGS=True
|
|||
|
||||
PRODUCTION_TIMEZONE = "America/Los_Angeles"
|
||||
|
||||
# Put SECRET_KEY in here, or any other sensitive or site-specific
|
||||
# changes. DO NOT commit settings_local.py to svn.
|
||||
# We provide a secret key only for test and development modes. It's
|
||||
# absolutely vital that django fails to start in production mode unless a
|
||||
# secret key has been provided elsewhere, not in this file which is
|
||||
# publicly available, for instance from the source repository.
|
||||
if not SERVER_MODE == 'production':
|
||||
SECRET_KEY = 'PDwXboUq!=hPjnrtG2=ge#N$Dwy+wn@uivrugwpic8mxyPfHka'
|
||||
|
||||
# Put the production SECRET_KEY in settings_local.py, and also any other
|
||||
# sensitive or site-specific changes. DO NOT commit settings_local.py to svn.
|
||||
from settings_local import *
|
||||
|
||||
|
Loading…
Reference in a new issue