X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0d32008f4ab55669ec5eb13ed1af3c2741092ef5..9fdae09271f5b6793edda90111648616b02c3670:/src/redakcja/settings/defaults.py diff --git a/src/redakcja/settings/defaults.py b/src/redakcja/settings/defaults.py index c3dc9819..297cd422 100644 --- a/src/redakcja/settings/defaults.py +++ b/src/redakcja/settings/defaults.py @@ -1,5 +1,6 @@ -# -*- coding: utf-8 -*- -from __future__ import absolute_import +# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# import os.path PROJECT_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__))) @@ -17,8 +18,6 @@ DATABASES = { DEBUG = False -MAINTENANCE_MODE = False - ADMINS = ( (u'Radek Czajka', 'radoslaw.czajka@nowoczesnapolska.org.pl'), ) @@ -50,6 +49,8 @@ USE_L10N = True # Example: "/home/media/media.lawrence.com/" MEDIA_ROOT = PROJECT_ROOT + '/media/dynamic' STATIC_ROOT = PROJECT_ROOT + '/../static/' +CATALOGUE_REPO_PATH = MEDIA_ROOT + '/repo' +CATALOGUE_IMAGE_REPO_PATH = MEDIA_ROOT + '/imgrepo' # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases). @@ -65,6 +66,15 @@ BROKER_URL = 'django://' SHOW_APP_VERSION = False +CAS_SERVER_URL = None CAS_APPLY_ATTRIBUTES_TO_USER = True CAS_RENAME_ATTRIBUTES = { 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'} + + +LITERARY_DIRECTOR_USERNAME = '' + +LEGIMI_USERNAME = None +LEGIMI_PASSWORD = None +LEGIMI_PUBLISHER_ID = None +