1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 from .paths import VAR_DIR
8 # limit number of filtering tags
11 NO_SEARCH_INDEX = False
14 CATALOGUE_DEFAULT_LANGUAGE = 'pol'
15 PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proofreading/?published=false'
17 # limit rate for ebooks creation
18 CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m'
20 # set to 'new' or 'old' to skip time-consuming test
21 # for TeX morefloats library version
22 LIBRARIAN_PDF_MOREFLOATS = None
24 LATEST_BLOG_POSTS = "http://nowoczesnapolska.org.pl/feed/?cat=-135"
26 CATALOGUE_COUNTERS_FILE = os.path.join(VAR_DIR, 'catalogue_counters.p')
28 CATALOGUE_MIN_INITIALS = 60
30 PICTURE_PAGE_SIZE = 20
32 CONTACT_FORMS_MODULE = 'wolnelektury.contact_forms'
36 'client_secret': '2ee86a66e5d97e3fadc400c9f19b065d',
37 'secondary_key': 'b6ca15b0d1020e8094d9b5f8d163db54',
42 CLUB_PAYU_POS = '300746'
43 CLUB_PAYU_RECURRING_POS = '300746'