1 # -*- coding: utf-8 -*-
3 # This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.
4 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 from __future__ import absolute_import
8 from redakcja.settings.common import *
12 'ENGINE': 'django.db.backends.sqlite3',
13 'NAME': path.join(PROJECT_ROOT, 'dev.sqlite'),
14 'USER': '', # Not used with sqlite3.
15 'PASSWORD': '', # Not used with sqlite3.
16 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
17 'PORT': '', # Set to empty string for default. Not used with sqlite3.
21 LOGGING_CONFIG_FILE = os.path.join(PROJECT_ROOT, 'config', ('logging.cfg' if not DEBUG else 'logging.cfg.dev'))
25 if os.path.isfile(LOGGING_CONFIG_FILE):
27 logging.config.fileConfig(LOGGING_CONFIG_FILE)
30 logging.basicConfig(stream=sys.stderr)
31 except (ImportError,), exc:
36 from redakcja.localsettings import *