diff --git a/eox_nelp/payment_notifications/views.py b/eox_nelp/payment_notifications/views.py index 772927ec..9cfae269 100644 --- a/eox_nelp/payment_notifications/views.py +++ b/eox_nelp/payment_notifications/views.py @@ -72,8 +72,7 @@ def get_payment_notifications_context(request): user_id = request.GET.get("showpaymentnotificationsforuser", user_id) count_view = False - all_notifications_for_user = PaymentNotification.objects.filter(cdtrans_lms_user_id=user_id) # pylint: disable=no-member - + all_notifications_for_user = PaymentNotification.objects.filter(cdtrans_lms_user_id=user_id) # pylint: disable=no-member # pylint: disable=line-too-long # noqa: E501 if count_view: for notification in all_notifications_for_user: notification.internal_view_count += 1 diff --git a/eox_nelp/settings/common.py b/eox_nelp/settings/common.py index 6726919e..0fed94c5 100644 --- a/eox_nelp/settings/common.py +++ b/eox_nelp/settings/common.py @@ -61,7 +61,7 @@ def plugin_settings(settings): settings.INSTALLED_APPS.append(EOX_AUDIT_MODEL_APP) try: - payments_notifications_context = 'eox_nelp.payment_notifications.context_processor.payments_notifications_context' # pylint: disable=line-too-long + payments_notifications_context = 'eox_nelp.payment_notifications.context_processor.payments_notifications_context' # pylint: disable=line-too-long # noqa: E501 if payments_notifications_context not in settings.TEMPLATES[0]['OPTIONS']['context_processors']: settings.TEMPLATES[0]['OPTIONS']['context_processors'].append(payments_notifications_context)