Revert changes to DATABASES formatting in settings.py

This commit is contained in:
Paul Craciunoiu 2010-03-17 18:16:17 -07:00
Родитель ee32488a29
Коммит 7f40103ff1
1 изменённых файлов: 7 добавлений и 13 удалений

Просмотреть файл

@ -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'},
}
}