Changes in club payments.
[wolnelektury.git] / src / wolnelektury / settings / custom.py
index 8830ebe..ab4719e 100644 (file)
@@ -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
 
@@ -15,3 +22,23 @@ CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m'
 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'
+
+PAYU_POS = {
+    '300746': {
+        'client_secret': '2ee86a66e5d97e3fadc400c9f19b065d',
+        'secondary_key': 'b6ca15b0d1020e8094d9b5f8d163db54',
+        'sandbox': True,
+    },
+}
+
+CLUB_PAYU_POS = '300746'
+CLUB_PAYU_RECURRING_POS = '300746'
+