input: Write a python function to convert an image filename to a hash.
  assert get_image_path(instance_with_id_1, "example.jpg") == "app_label/module_name/202cb962ac59075b964b07152d234b70.jpg"
  assert get_image_path(instance_with_id_2, "test.png") == "app_label/module_name/698d51a19d8a121ce581499d7b701668.png"
output: import hashlib
  
  def get_image_path(instance, filename):
      app_label = instance._meta.app_label
      model_name = instance._meta.model_name
      instance_id = instance.id
      file_ext = filename.split('.')[-1]
      hash_object = hashlib.md5(str(instance_id).encode())
      file_hash = hash_object.hexdigest()
      return f"{app_label}/{model_name}/{file_hash}.{file_ext}"