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