appadmin中的web2py只读字段

时间:2015-04-08 15:37:25

标签: python forms web2py

摘自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完成吗?

1 个答案:

答案 0 :(得分:0)

appadmin.py控制器中有一个ignore_rw顶级变量。您可以将其设置为False