Example #1
0
 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())
Example #2
0
 def post(self):
   model = project.Project(uuid = restful.gen_new_key())
   assist.update_model_from_params(model, self.request.params)
   restful.send_successful_response(self, model.to_xml())