code: def get_pages_from_id_list(id_list):
      '''
      Accepts: list of page ids
      Returns: list of specific page objects
      '''
      page_list = []
      for id_ in id_list:
          try:
              page_list.append(
                  Page.objects.get(id=id_).specific)
          except ObjectDoesNotExist:
              logging.error(
                  "Attempted to fetch non-existent"
                  " page with id of {}".format(id_))
      return page_lisf get_pages_from_id_list(id_list):
      '''
      Accepts: list of page ids
      Returns: list of specific page objects
      '''
      page_list = []
      for id_ in id_list:
          try:
              page_list.append(
                  Page.objects.get(id=id_).specific)
          except ObjectDoesNotExist:
              logging.error(
                  "Attempted to fetch non-existent"
                  " page with id of {}".format(id_))
      return page_list
docs: Accepts: list of page ids
      Returns: list of specific page objects