auth.signature includes a modified_on field, not an update_on field.

Also, if you update a record by making changes to the row object and then 
calling row.update_record() (with no arguments), it will update the record 
with all the existing values (so modified_on will not be changed).

Anthony

On Monday, June 26, 2017 at 1:21:43 PM UTC-4, Ramos wrote:
>
> Hi,
>
> my table 
> db.define_table(
>     'entities',
>     Field('uuid',length=64,default=lambda:str(uuid.uuid4())),
>     Field('entity',required=True,label=T("Entity")),
>     Field('description',label=T("Description"),default=""),
>     Field('status', db.status),
>     Field('type','reference dbentities',label=T("Type")),
>     # Field('workflow','reference workflows',label="Workflow"),
>     Field('event'),
>     Field("last_error",default=""),
>     Field('readers','list:string',default=[""]),
>     auth.signature,
>      format='%(entity)s',
> )
> the field *update_on* is not being updated  when i update a record via 
> code.
>
> if i update a record via appadmin it does also not update *update_on* 
> field
>
> Help :)
>
> thank you
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to