code: def get_context_data(self,**kwargs):
          ''' Add the list of names for the given guest list '''
          event = Event.objects.filter(id=self.kwargs.get('event_id')).first()
          if self.kwargs.get('event_id') and not self.object.appliesToEvent(event):
              raise Http404(_('Invalid event.'))
  
          # Use the most current event if nothing has been specified.
          if not event:
              event = self.object.currentEvent
  
          context = {
              'guestList': self.object,
              'event': event,
              'names': self.object.getListForEvent(event),
          }
          context.update(kwargs)
          return super(GuestListView,self).get_context_data(**contextf get_context_data(self,**kwargs):
          ''' Add the list of names for the given guest list '''
          event = Event.objects.filter(id=self.kwargs.get('event_id')).first()
          if self.kwargs.get('event_id') and not self.object.appliesToEvent(event):
              raise Http404(_('Invalid event.'))
  
          # Use the most current event if nothing has been specified.
          if not event:
              event = self.object.currentEvent
  
          context = {
              'guestList': self.object,
              'event': event,
              'names': self.object.getListForEvent(event),
          }
          context.update(kwargs)
          return super(GuestListView,self).get_context_data(**context)
docs: Add the list of names for the given guest list