def post(self, pid): submit = self.request() submit["project_id"] = pid ProjectDoc.add(submit) return self.succ()