From 0a5175419e9fb74d198a7a94f75d19ad3197e2ad Mon Sep 17 00:00:00 2001 From: heinzel Date: Tue, 1 Oct 2019 09:52:46 +0200 Subject: [PATCH] FIX: dav_events: string that contains realnames was not unicode. --- dav_events/views/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dav_events/views/events.py b/dav_events/views/events.py index 6431087..2fd0a44 100644 --- a/dav_events/views/events.py +++ b/dav_events/views/events.py @@ -217,9 +217,9 @@ class EventRegistrationsView(EventPermissionMixin, generic.DetailView): context['participants'] = participants if participants.count() > 1: - email_list = ['"{}" <{}>'.format(p.get_full_name(), p.email_address) for p in participants] + email_list = [u'"{}" <{}>'.format(p.get_full_name(), p.email_address) for p in participants] email_list.sort() - context['participant_emails'] = ', '.join(email_list) + context['participant_emails'] = u', '.join(email_list) if 'participant_formset' not in context: context['participant_formset'] = self.get_participant_formset()