euscanwww: clean settings.py
(no, the password wasn't the real password) Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
5331ae2eda
commit
7808fd22b7
@ -13,17 +13,20 @@ MANAGERS = ADMINS
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
# 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
# 'NAME': os.path.join(os.path.dirname( __file__ ), 'euscan.db'), # Or path to database file if using sqlite3.
|
'NAME': os.path.join(os.path.dirname( __file__ ), 'euscan.db'),
|
||||||
|
"""
|
||||||
|
# MySQL Example:
|
||||||
'ENGINE': 'django.db.backends.mysql',
|
'ENGINE': 'django.db.backends.mysql',
|
||||||
'NAME': 'euscan',
|
'NAME': 'euscan',
|
||||||
'USER': 'euscan', # Not used with sqlite3.
|
'USER': 'euscan',
|
||||||
'PASSWORD': 'w7RGZVQx6edAMaDE', # Not used with sqlite3.
|
'PASSWORD': 'password',
|
||||||
'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3.
|
'HOST': 'localhost',
|
||||||
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
'PORT': '',
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'init_command': 'SET storage_engine=INNODB',
|
'init_command': 'SET storage_engine=INNODB',
|
||||||
}
|
}
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user