Added buttons to scroll toolbar buttons. Fixes #606.
[redakcja.git] / redakcja / settings / __init__.py
1 from __future__ import absolute_import
2 from settings.common import *
3
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.
10
11 try:
12     from localsettings import *
13 except ImportError:
14     pass
15
16 try:
17     LOGGING_CONFIG_FILE
18 except NameError:
19     LOGGING_CONFIG_FILE = os.path.join(PROJECT_ROOT, 'config',
20                                 ('logging.cfg' if not DEBUG else 'logging.cfg.dev'))
21 try:
22     import logging
23
24     if os.path.isfile(LOGGING_CONFIG_FILE):
25         import logging.config
26         logging.config.fileConfig(LOGGING_CONFIG_FILE)
27     else:
28         import sys
29         logging.basicConfig(stream=sys.stderr)
30 except (ImportError,), exc:
31     raise
32