I seem to remember doing something like this once - worth a try:

if not 'view' in request.args:
    db.CodeMaster.Code_Example.readable = False
    db.CodeMaster.Code_Example.writable = False
else:
    db.CodeMaster.Code_Example.readable = True
    db.CodeMaster.Code_Example.writable = False

-- 

--- 
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.


Reply via email to