1 # -*- coding: utf-8 -*-
2 from __future__ import absolute_import
4 from redakcja.settings.common import *
8 'ENGINE': 'django.db.backends.sqlite3',
9 'NAME': path.join(PROJECT_ROOT, 'dev.sqlite'),
10 'USER': '', # Not used with sqlite3.
11 'PASSWORD': '', # Not used with sqlite3.
12 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
13 'PORT': '', # Set to empty string for default. Not used with sqlite3.
17 LOGGING_CONFIG_FILE = os.path.join(PROJECT_ROOT, 'config', ('logging.cfg' if not DEBUG else 'logging.cfg.dev'))
21 if os.path.isfile(LOGGING_CONFIG_FILE):
23 logging.config.fileConfig(LOGGING_CONFIG_FILE)
26 logging.basicConfig(stream=sys.stderr)
27 except (ImportError,), exc:
32 from redakcja.localsettings import *