X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff21f9bc563f16fcde81eafccd38f212f22ba582..a7d1e3cd75cd56c3f9a5ddceb63196aad9d1db65:/src/wolnelektury/settings/custom.py diff --git a/src/wolnelektury/settings/custom.py b/src/wolnelektury/settings/custom.py index 04cdd894b..da3af83d4 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,8 +40,10 @@ CLUB_PAYU_POS = '300746' CLUB_PAYU_RECURRING_POS = '300746' CLUB_APP_HOST = None -AB_TESTS = { -} +CLUB_RETRIES_START = date(2022, 4, 20) +CLUB_RETRY_DAYS_MAX = 90 +CLUB_RETRY_DAYS_DAILY = 3 +CLUB_RETRY_LESS = 7 MESSAGING_MIN_DAYS = 2 @@ -50,3 +53,15 @@ NEWSLETTER_PHPLIST_SUBSCRIBE_URL = None 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 = 0