config.py: sqlite3 DATABASES by default
This commit is contained in:
parent
f3bcef1589
commit
5bb12774dd
24
config.py
24
config.py
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue