config.py: sqlite3 DATABASES by default

This commit is contained in:
Thomas NOËL 2014-10-02 17:04:12 +02:00
parent f3bcef1589
commit 5bb12774dd
1 changed files with 23 additions and 1 deletions

View File

@ -1,7 +1,29 @@
# Configuration for passerelle.
# This file is sourced by "execfile" from /usr/lib/passerelle/debian_config.py
SECRET_KEY = 'ChangeMe'
SECRET_KEY = 'ChangeMeNow'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '/var/lib/passerelle/passerelle.sqlite3',
}
}
# postgresql :
#DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.postgresql_psycopg2'
# 'NAME': 'passerelle',
# # if needed :
# 'USER': 'user',
# 'PASSWORD': 'password',
# 'HOST': 'localhost',
# 'PORT': '5432',
# }
#}
#TIME_ZONE = 'Europe/Paris'
#LANGUAGE_CODE = 'fr-fr'