def put(self): model = project.Project.get(db.Key(restful.get_model_key(self))) assist.update_model_from_params(model, self.request.params) restful.send_successful_response(self, model.to_xml())
def post(self): model = task.Task(key_name = restful.gen_new_key()) assist.update_model_from_params(model, self.request.params) restful.send_successful_response(self, model.to_xml())
def post(self): model = project.Project() assist.update_model_from_params(model, self.request.params) restful.send_successful_response(self, model.to_xml())
def post(self): model = location.Location() assist.update_model_from_params(model, self.request.params) restful.send_successful_response(self, model.to_xml())