X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/15dec706694c3afc006713be0fabb4973a6c2946..fbb8f42993d02108b506028dc85466a0541be359:/src/redakcja/settings/defaults.py?ds=sidebyside diff --git a/src/redakcja/settings/defaults.py b/src/redakcja/settings/defaults.py index 688e2b6d..cb49c8d3 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,12 +18,12 @@ DATABASES = { DEBUG = False -MAINTENANCE_MODE = False - ADMINS = ( (u'Radek Czajka', 'radoslaw.czajka@nowoczesnapolska.org.pl'), ) +INTERNAL_IPS = ['127.0.0.1'] + MANAGERS = ADMINS # Local time zone for this installation. Choices can be found here: @@ -63,5 +64,14 @@ BROKER_URL = 'django://' SHOW_APP_VERSION = False -CAS_USER_ATTRS_MAP = { +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 +