I have a table with 8 fields. I need to create crud.update form only for
one of them.
There are at least two ways to do it:
1. setting readable / writable attributes of the rest 7 fields to False
(rather tedious)
2. or something like this:
for f in db.tablename.fields:
if f != 'myfield':
db.tablename.f.writable = db.tablename.f.readable = False
but of course I can't concentrate DAL objects and string like this ;) How
do I do it properly?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.