On Saturday, December 12, 2015 at 12:29:05 AM UTC-5, Alex Glaros wrote:
>
> What would I do to enable the following?
>
> 1. When a record is edited, a copy is made and marked is_active == False
>

I suppose you'll have to write custom code for that (maybe via a 
_before_update callback), as the record versioning system doesn't work that 
way.
 

> 2. Then I can use that archived record to show user a history of 
> transactions.
>

I would think the current system would work just as well here -- just pull 
the historical records from the archive table.
 

> Also, am I correct in thinking that the auth tables like 
> db.auth_membership cannot be copied to archive table with the versioning 
> statement?
>

Record version can apply to any tables, including the Auth tables.

Anthony

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