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.
22 'NOTIFY_EMAIL': ('zofia.radziwill@nowoczesnapolska.org.pl',
23 'e-mail addresses (separated with semicolons) to be notified about new organizations '
24 'and published documents'),
27 CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
30 LOGGING_CONFIG_FILE = os.path.join(PROJECT_ROOT, 'config', ('logging.cfg' if not DEBUG else 'logging.cfg.dev'))
34 if os.path.isfile(LOGGING_CONFIG_FILE):
36 logging.config.fileConfig(LOGGING_CONFIG_FILE)
39 logging.basicConfig(stream=sys.stderr)
40 except (ImportError,), exc:
45 from redakcja.localsettings import *