1 from __future__ import absolute_import
2 from settings.common import *
4 DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
5 DATABASE_NAME = PROJECT_ROOT + '/dev.sqlite' # Or path to database file if using sqlite3.
6 DATABASE_USER = '' # Not used with sqlite3.
7 DATABASE_PASSWORD = '' # Not used with sqlite3.
8 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
9 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
12 from localsettings import *
19 LOGGING_CONFIG_FILE = os.path.join(PROJECT_ROOT, 'config',
20 ('logging.cfg' if not DEBUG else 'logging.cfg.dev'))
24 if os.path.isfile(LOGGING_CONFIG_FILE):
26 logging.config.fileConfig(LOGGING_CONFIG_FILE)
29 logging.basicConfig(stream=sys.stderr)
30 except (ImportError,), exc: