1 from __future__ import absolute_import
3 from redakcja.settings.common import *
7 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
8 'NAME': path.join(PROJECT_ROOT, 'dev.sqlite'), # Or path to database file if using sqlite3.
9 'USER': '', # Not used with sqlite3.
10 'PASSWORD': '', # Not used with sqlite3.
11 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
12 'PORT': '', # Set to empty string for default. Not used with sqlite3.
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:
35 from redakcja.localsettings import *