Update instructions for production deployment

This commit is contained in:
Alexandre Iooss 2021-10-11 21:55:15 +02:00
parent 293bc48eae
commit 60389ae1b0
4 changed files with 11 additions and 9 deletions

View file

@ -23,12 +23,15 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'i8w!-0fvlq3e0slp6612gtu^dy$awha=*9*5e0mx)ggke!#dcd'
SECRET_KEY = 'CHANGE_ME'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = [
"photos.crans.org",
"photos-dev.crans.org",
]
# Application definition