But that only works for web forms. I want the same for programmatic access.
(db.table.insert() call etc)
> 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
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 change
3 matches
Mail list logo