1 # -*- coding: utf-8 -*-
3 # localsettings template for Platforma
5 # Duplicate this file as localsettings.py and change it to your liking.
6 # Settings defined in localsettings.py will override settings from
7 # settings.py file. localsettings.py should never be commited
8 # to a version control system. Please make changes to settings.py
9 # or localsettings.sample instead.
14 from redakcja.settings.common import PROJECT_ROOT
15 from redakcja.settings.compress import PIPELINE
17 # Path to repository with managed documents
18 CATALOGUE_REPO_PATH = '/srv/redakcja/books'
20 LOGGING_CONFIG_FILE = "/srv/redakcja/logging.cfg.dev"
22 BASE_DIR = os.path.dirname(PROJECT_ROOT)
24 STATIC_ROOT = os.path.join(BASE_DIR, 'var', 'static')
25 MEDIA_ROOT = os.path.join(BASE_DIR, 'var', 'media')
26 STATIC_URL = '/static/'
30 # Subdirectory of MEDIA_ROOT containing images
33 CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/'
36 REDMINE_URL = 'http://redmine.nowoczesnapolska.org.pl/'
40 MAINTENANCE_MODE = False
42 PIPELINE['PIPELINE_ENABLED'] = False
44 APICLIENT_WL_CONSUMER_KEY = None
45 APICLIENT_WL_CONSUMER_SECRET = None
47 CELERY_ALWAYS_EAGER = True
49 SECRET_KEY = 'very secret'
52 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'