Hi,

I was able to fix problem 1).
Turns out that auth.enable_record_versioning needs to be after all the 
define_tables (found the answer on another post, but couldn't find it in 
the docs).

Still having issue 2). Has anyone seen this before? The solutions I saw on 
other posts didn't work for me.

Thanks.

On Thursday, December 22, 2016 at 4:13:17 AM UTC, Ricardo Oliveira wrote:
>
> Hi,
> I'm having a couple of issues with record versioning:
> 1) I had to directly "force" versioning for tables 
> (db.mytable._enable_record_versioning() for each table), although I have:
>
>      auth.define_tables(username=True, signature=True)
>      auth.enable_record_versioning(db, 
> archive_names='%(tablename)s_archive', current_record='current_record')
>      db._common_fields.append(auth.signature)
>
> 2) the user & time are not recorded on the modified_on, modified_by columns
>
> Not sure where to go from here.
> I would appreciate any help.
>
> Best regards,
> Ricardo.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to