Re: [web2py] Opposite of required... for field?

2011-08-20 Thread nick name
But that only works for web forms. I want the same for programmatic access. (db.table.insert() call etc)

[web2py] Opposite of required... for field?

2011-08-19 Thread nick name
I have multiple fields in a record that I want to be always generated on insert, never modified on update. Typical use case is a record creation timestamp; a default of request.now is perfect, I don't want anyone to ever override it, and I do want to get an error if accidentally trying to

Re: [web2py] Opposite of required... for field?

2011-08-19 Thread Kenneth Lundström
Is there a way to have a required_not_to_be_specified setting for a field? You can change the writable and readable atributes, either in the model or in controller. Kenneth