X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/24721591455e048cffca365384e6759daae05916..811c2c30277f11cc7a35a347a74e4112f97569ac:/src/wolnelektury/settings/custom.py?ds=sidebyside diff --git a/src/wolnelektury/settings/custom.py b/src/wolnelektury/settings/custom.py index 08937d9f8..11e29c6e1 100644 --- a/src/wolnelektury/settings/custom.py +++ b/src/wolnelektury/settings/custom.py @@ -1,6 +1,7 @@ # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # +from datetime import date import os from .paths import VAR_DIR @@ -39,17 +40,12 @@ CLUB_PAYU_POS = '300746' CLUB_PAYU_RECURRING_POS = '300746' CLUB_APP_HOST = None +CLUB_RETRIES_START = date(2022, 4, 20) +CLUB_RETRY_DAYS_MAX = 90 +CLUB_RETRY_DAYS_DAILY = 3 +CLUB_RETRY_LESS = 7 -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"}, - ], - }, -] +CLUB_CONTACT_EMAIL = 'darowizny@wolnelektury.pl' MESSAGING_MIN_DAYS = 2 @@ -60,3 +56,18 @@ VARIANTS = { } EPUB_FUNDRAISING = [] + +CIVICRM_BASE = None +CIVICRM_KEY = None + +CIVICRM_ACTIVITIES = { + 'Contribution': 'Wpłata', + 'Recurring contribution': 'Wpłata cykliczna', + 'Failed contribution': 'Nieudana wpłata', +} + +EXPERIMENTS_LAYOUT = 1 +EXPERIMENTS_SOWKA = 0 +EXPERIMENTS_SEARCH = 0 + +WIDGETS = {}