fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More API views migrated.
[wolnelektury.git]
/
src
/
wolnelektury
/
settings
/
custom.py
diff --git
a/src/wolnelektury/settings/custom.py
b/src/wolnelektury/settings/custom.py
index
8830ebe
..
08ad482
100644
(file)
--- a/
src/wolnelektury/settings/custom.py
+++ b/
src/wolnelektury/settings/custom.py
@@
-1,3
+1,10
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+import os
+from .paths import VAR_DIR
+
# limit number of filtering tags
MAX_TAG_LIST = 6
# limit number of filtering tags
MAX_TAG_LIST = 6
@@
-15,3
+22,11
@@
CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m'
LIBRARIAN_PDF_MOREFLOATS = None
LATEST_BLOG_POSTS = "http://nowoczesnapolska.org.pl/feed/?cat=-135"
LIBRARIAN_PDF_MOREFLOATS = None
LATEST_BLOG_POSTS = "http://nowoczesnapolska.org.pl/feed/?cat=-135"
+
+CATALOGUE_COUNTERS_FILE = os.path.join(VAR_DIR, 'catalogue_counters.p')
+
+CATALOGUE_MIN_INITIALS = 60
+
+PICTURE_PAGE_SIZE = 20
+
+CONTACT_FORMS_MODULE = 'wolnelektury.contact_forms'