add details and comments in config.py
This commit is contained in:
parent
c06e870712
commit
65b44ddfd9
38
config.py
38
config.py
|
@ -1,7 +1,35 @@
|
|||
# Configuration for passerelle.
|
||||
# You can override Passerelle default settings here
|
||||
|
||||
# Passerelle is a Django application: for the full list of settings and their
|
||||
# values, see https://docs.djangoproject.com/en/1.7/ref/settings/
|
||||
# For more information on settings see
|
||||
# https://docs.djangoproject.com/en/1.7/topics/settings/
|
||||
|
||||
# WARNING! Quick-start development settings unsuitable for production!
|
||||
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
|
||||
|
||||
# This file is sourced by "execfile" from /usr/lib/passerelle/debian_config.py
|
||||
|
||||
SECRET_KEY = 'ChangeMeNow'
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = '!!-Change-Me-Now-!!'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = True
|
||||
|
||||
ADMINS = (
|
||||
# ('User 1', 'watchdog@domain.com'),
|
||||
# ('User 2', 'janitor@domain.com'),
|
||||
)
|
||||
|
||||
# ALLOWED_HOSTS must be correct in production!
|
||||
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
||||
ALLOWED_HOSTS = [
|
||||
'passerelle.domain.com',
|
||||
'passerelle.domain.com.',
|
||||
]
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
|
@ -10,7 +38,7 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
|
||||
# postgresql :
|
||||
# for a postgresql database:
|
||||
#DATABASES = {
|
||||
# 'default': {
|
||||
# 'ENGINE': 'django.db.backends.postgresql_psycopg2'
|
||||
|
@ -23,7 +51,5 @@ DATABASES = {
|
|||
# }
|
||||
#}
|
||||
|
||||
|
||||
#TIME_ZONE = 'Europe/Paris'
|
||||
#LANGUAGE_CODE = 'fr-fr'
|
||||
|
||||
LANGUAGE_CODE = 'fr-fr'
|
||||
TIME_ZONE = 'Europe/Paris'
|
||||
|
|
Loading…
Reference in New Issue