pep8 and other code-style changes
[wolnelektury.git] / src / wolnelektury / settings / custom.py
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.
4 #
5 import os
6 from .paths import VAR_DIR
7
8 # limit number of filtering tags
9 MAX_TAG_LIST = 6
10
11 NO_SEARCH_INDEX = False
12 NO_CUSTOM_PDF = True
13
14 CATALOGUE_DEFAULT_LANGUAGE = 'pol'
15 PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proofreading/?published=false'
16
17 # limit rate for ebooks creation
18 CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m'
19
20 # set to 'new' or 'old' to skip time-consuming test
21 # for TeX morefloats library version
22 LIBRARIAN_PDF_MOREFLOATS = None
23
24 LATEST_BLOG_POSTS = "http://nowoczesnapolska.org.pl/feed/?cat=-135"
25
26 CATALOGUE_COUNTERS_FILE = os.path.join(VAR_DIR, 'catalogue_counters.p')