From 7808fd22b7d3847c8505c0edc89ce2a0e2aea920 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Tue, 19 Apr 2011 11:52:47 +0200 Subject: [PATCH] euscanwww: clean settings.py (no, the password wasn't the real password) Signed-off-by: Corentin Chary --- euscanwww/settings.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/euscanwww/settings.py b/euscanwww/settings.py index 30783ee..fcc3ae2 100644 --- a/euscanwww/settings.py +++ b/euscanwww/settings.py @@ -13,17 +13,20 @@ MANAGERS = ADMINS DATABASES = { 'default': { -# 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. -# 'NAME': os.path.join(os.path.dirname( __file__ ), 'euscan.db'), # Or path to database file if using sqlite3. + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(os.path.dirname( __file__ ), 'euscan.db'), +""" +# MySQL Example: 'ENGINE': 'django.db.backends.mysql', 'NAME': 'euscan', - 'USER': 'euscan', # Not used with sqlite3. - 'PASSWORD': 'w7RGZVQx6edAMaDE', # Not used with sqlite3. - 'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3. - 'PORT': '', # Set to empty string for default. Not used with sqlite3. + 'USER': 'euscan', + 'PASSWORD': 'password', + 'HOST': 'localhost', + 'PORT': '', 'OPTIONS': { 'init_command': 'SET storage_engine=INNODB', } +""" } }