зеркало из https://github.com/mozilla/kitsune.git
Revert changes to DATABASES formatting in settings.py
This commit is contained in:
Родитель
ee32488a29
Коммит
7f40103ff1
20
settings.py
20
settings.py
|
@ -7,7 +7,7 @@ TEMPLATE_DEBUG = DEBUG
|
|||
LOG_LEVEL = logging.DEBUG
|
||||
|
||||
ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
path = lambda * a: os.path.join(ROOT, * a)
|
||||
path = lambda *a: os.path.join(ROOT, *a)
|
||||
|
||||
ADMINS = (
|
||||
# ('Your Name', 'your_email@domain.com'),
|
||||
|
@ -17,18 +17,12 @@ MANAGERS = ADMINS
|
|||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
# Or path to database file if using sqlite3.
|
||||
'NAME': 'kitsune',
|
||||
# Not used with sqlite3.
|
||||
'USER': '',
|
||||
# Not used with sqlite3.
|
||||
'PASSWORD': '',
|
||||
# Set to empty string for localhost. Not used with sqlite3.
|
||||
'HOST': '',
|
||||
# Set to empty string for default. Not used with sqlite3.
|
||||
'PORT': '',
|
||||
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||
'NAME': 'kitsune', # Or path to database file if using sqlite3.
|
||||
'USER': '', # Not used with sqlite3.
|
||||
'PASSWORD': '', # Not used with sqlite3.
|
||||
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
||||
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
||||
'OPTIONS': {'init_command': 'SET storage_engine=InnoDB'},
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче