def get_context_data(self, *args, **kwargs):
        context = super(AgendaMeetingDetailView , self).get_context_data(*args, **kwargs)
        agendameeting = context['object']
        meeting = agendameeting.meeting
        agenda = agendameeting.agenda
        try:
            context['title'] = _("Comments on agenda %(agenda)s meeting %(meeting)s") % {
                  'meeting':meeting,
                  'agenda':agenda.name}
        except AttributeError:
            context['title'] = _('None')
            logger.error('Attribute error trying to generate title for agenda %d meeting %d' % (agenda.id,meeting.id))
        return context
dataset/ETHPy150Open ofri/Open-Knesset/agendas/views.py/AgendaMeetingDetailView.get_context_data/original