def save(self): choose = Xk(stuid=self.stuid.data, code=self.code.data) choose.save() return True
def save(self): choose = Xk(stuid=g.user.username, code=self.code.data) choose.save() return True
def save(self): x=Xk(code=self.code.data,stuid=self.stuid.data) x.save()
def save(self): x = Xk(code=self.code.data, stuid=self.stuid.data) x.save()