new_contents: from django.conf import settings
  import requests
  from requests.auth import HTTPBasicAuth
  
  from actionkit.utils import get_client
  from actionkit.models import CorePage
  
  def delete_action(action_id):
      host = settings.ACTIONKIT_API_HOST
      if not host.startswith("https"):
          host = "https://" + host
  
      url = "%s/rest/v1/action/%s" % (host, action_id)
      resp = requests.delete(url, auth=HTTPBasicAuth(
              settings.ACTIONKIT_API_USER, settings.ACTIONKIT_API_PASSWORD))
      assert resp.status_code == 204
  
  def create_action(page_id, user_id):
      page_name = CorePage.objects.using("ak").get(id=page_id).name
  
      actionkit = get_client()
      return actionkit.act({'page': page_name, 'id': user_id})
  
subject: add missing rest.py