摘自web2py文档:
Forms created with
form = SQLFORM(...,ignore_rw=True)
ignore the readable and writable attributes and always show all fields. Forms in appadmin ignore them by default.
如何让它们像普通字段一样运行而不忽略这些参数?这应该用自定义css完成吗?
答案 0 :(得分:0)
appadmin.py控制器中有一个ignore_rw
顶级变量。您可以将其设置为False
。