标签: web2py
当我按照这样迭代控制器时:
def return_post: form = SQLFORM(db.post) for c in form: form1= post.body form2 = form1.split() return dict(form2=form2)
我收到一个错误,即在视图{{= form2}}中未定义form2。我如何定义这个form2?