httplib2
-raven
+sentry-sdk==0.10.2
mailchimp3
amount=self.cleaned_data['amount'],
language_code=get_language(),
)
- funding.perks = funding.offer.get_perks(funding.amount)
+ funding.perks.set(funding.offer.get_perks(funding.amount))
return funding
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
# Django settings for wolnelektury project.
+import sentry_sdk
+from sentry_sdk.integrations.django import DjangoIntegration
+
from .apps import *
from .basic import *
from .auth import *
from wolnelektury.localsettings import *
except ImportError:
pass
+
+
+try:
+ SENTRY_DSN
+except NameError:
+ pass
+else:
+ sentry_sdk.init(
+ dsn=SENTRY_DSN,
+ integrations=[DjangoIntegration()]
+ )
'getpaid',
'getpaid.backends.payu',
'django_extensions',
- 'raven.contrib.django.raven_compat',
'club.apps.ClubConfig',
'debug_toolbar',
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
-from django.utils.translation import ugettext_lazy as _
-
HONEYPOT_FIELD_NAME = 'miut'
PAGINATION_INVALID_PAGE_RAISES_404 = True
THUMBNAIL_QUALITY = 95