code: def request_announcement_email(request, form, obj):
      
  
      logger.debug(form.data)
      teacher_ids = form.data["teachers_requested"]
      if not isinstance(teacher_ids, list):
          teacher_ids = [teacher_ids]
      logger.debug(teacher_ids)
      teachers = User.objects.filter(id__in=teacher_ids)
      logger.debug(teachers)
  
      subject = "News Post Confirmation Request from {}".format(request.user.full_name)
      emails = []
      for teacher in teachers:
          emails.append(teacher.tj_email)
      logger.debug(emails)
      logger.info("%s: Announcement request to %s, %s", request.user, teachers, emails)
      base_url = request.build_absolute_uri(reverse('index'))
      data = {
          "teachers": teachers,
          "user": request.user,
          "formdata": form.data,
          "info_link": request.build_absolute_uri(reverse("approve_announcement", args=[obj.id])),
          "base_url": base_url
      }
      logger.info("%s: Announcement request %s", request.user, data)
      email_send("announcements/emails/teacher_approve.txt", "announcements/emails/teacher_approve.html", data, subject, emails)
docs: Send an announcement request email.
  
      form: The announcement request form
      obj: The announcement request object