1 from __future__ import absolute_import
2 from redakcja.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.
14 LOGGING_CONFIG_FILE = os.path.join(PROJECT_ROOT, 'config',
15 ('logging.cfg' if not DEBUG else 'logging.cfg.dev'))
19 if os.path.isfile(LOGGING_CONFIG_FILE):
21 logging.config.fileConfig(LOGGING_CONFIG_FILE)
24 logging.basicConfig(stream=sys.stderr)
25 except (ImportError,), exc: