To be clear, in this example, I used update=False because the field is 
boolean, but the "update" argument is not simply a boolean argument (i.e., 
it does not mean "update or don't update") -- it can take any value (or 
callable) appropriate for the type of field.

Anthony

On Sunday, June 23, 2013 11:01:06 AM UTC-4, Anthony wrote:
>
> It's hard to keep up with web2py new features.  What is exactly, 
>> update=False?
>
>
> True, but that's not a new feature (been there as long as I can remember). 
> The "update" argument sets the value the field should take upon update if 
> no value is specified (much like "default" works for inserts). Like 
> "default", it can be a callable. It's in the book.
>
> Anthony
>

-- 

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