X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c6a911e651e4ddb8d817b458f94dc62e10dab419..94a3d5dc103e37b41a02b5c1c611621e91ba4b75:/src/wolnelektury/settings/contrib.py diff --git a/src/wolnelektury/settings/contrib.py b/src/wolnelektury/settings/contrib.py index 70eca9e0c..de64990bc 100644 --- a/src/wolnelektury/settings/contrib.py +++ b/src/wolnelektury/settings/contrib.py @@ -3,6 +3,8 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from fnpdjango.utils.text.textilepl import textile_pl +from migdal import EntryType +from django.utils.translation import ugettext_lazy as _ HONEYPOT_FIELD_NAME = 'miut' PAGINATION_INVALID_PAGE_RAISES_404 = True @@ -18,6 +20,10 @@ MIGRATION_MODULES = { GETPAID_ORDER_DESCRIPTION = "{% load funding_tags %}{{ order|sanitize_payment_title }}" +GETPAID_BACKENDS = ( + 'getpaid.backends.payu', +) + PIWIK_URL = '' PIWIK_SITE_ID = 0 PIWIK_TOKEN = '' @@ -31,3 +37,10 @@ PAYPAL_CONFIG = { MARKUP_FIELD_TYPES = ( ('textile_pl', textile_pl), ) + +MIGDAL_TYPES = ( + EntryType('news', _('news'), commentable=False, on_main=True, promotable=True), + EntryType('publications', _('publications'), commentable=False), + EntryType('info', _('info'), commentable=False), + EntryType('event', _('events'), commentable=False), +)