X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..5d1dcf0b143ba6409b66ca13ddf31143d6e00a59:/src/wolnelektury/settings/custom.py diff --git a/src/wolnelektury/settings/custom.py b/src/wolnelektury/settings/custom.py index 09cc641e6..08937d9f8 100644 --- a/src/wolnelektury/settings/custom.py +++ b/src/wolnelektury/settings/custom.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -8,7 +7,6 @@ from .paths import VAR_DIR # limit number of filtering tags MAX_TAG_LIST = 6 -NO_SEARCH_INDEX = False NO_CUSTOM_PDF = True CATALOGUE_DEFAULT_LANGUAGE = 'pol' @@ -26,3 +24,39 @@ LATEST_BLOG_POSTS = "http://nowoczesnapolska.org.pl/feed/?cat=-135" CATALOGUE_COUNTERS_FILE = os.path.join(VAR_DIR, 'catalogue_counters.p') CATALOGUE_MIN_INITIALS = 60 + +PICTURE_PAGE_SIZE = 20 + +PAYU_POS = { + '300746': { + 'client_secret': '2ee86a66e5d97e3fadc400c9f19b065d', + 'secondary_key': 'b6ca15b0d1020e8094d9b5f8d163db54', + 'sandbox': True, + }, +} + +CLUB_PAYU_POS = '300746' +CLUB_PAYU_RECURRING_POS = '300746' +CLUB_APP_HOST = None + + +EXPERIMENTS = [ + { + "name": "Eksperymentalny układ strony utworu", + "slug": "layout", + "cohorts": [ + {"size": 0, "value": "new", "name": "eksperymentalny układ", "explicit": True}, + { "value": "old", "name": "stary układ"}, + ], + }, +] + +MESSAGING_MIN_DAYS = 2 + +NEWSLETTER_PHPLIST_SUBSCRIBE_URL = None + + +VARIANTS = { +} + +EPUB_FUNDRAISING = []