docs: def group_upcoming_events(context, group=None):
      """
      Displays a list of all upcoming events that are assigned to a specific
      group.  If the group is not specified it is assumed to be the current page.
      """
      request = context.get('request')
      if group is None:
          group = context.get('page')
      if group:
          events = getGroupUpcomingEvents(request, group)
      else:
          events = []
      return {'request': request,
              'events':  events}