Sure, in your controller.
def index(): db.tablename.fieldname.readable = False # or True db.tablename.fieldname.writable = False # or True form = crud(db.tablename) # or SQLFORM(db.tablename) return dict(form=form) -Thadeus On Wed, Oct 14, 2009 at 1:32 AM, Pointer <[email protected]> wrote: > > Wow! I can't believe I missed that. Thanks a lot Thadeus! > > But still for the sake of curiosity, it would be great to know if it > is possible to selectively update columns via crud. > > On Oct 12, 8:32 pm, Thadeus Burgess <[email protected]> wrote: > > Download the cookbook.pdf. > > > > On about page 33, there is an example to accomplish exactly what your > > talking about. > > > > It is a walkthrough on creating a image posting application, and the > images > > include timestamps. > > > > -Thadeus > > > > > > > > On Mon, Oct 12, 2009 at 9:26 AM, Pointer <[email protected]> > wrote: > > > oses. The restriction I want to enforce is to have the > > > server's current time to be used as the timestamp and not allow users > > > to me > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

