To record versiong works, you should set
db._common_fields.append(auth.signature) after you db.define_tables() but before defining any other table and db.enable_record_versioning(db) after you define all tables Em segunda-feira, 30 de setembro de 2013 17h28min12s UTC-3, JaapP escreveu: > > Hi, > > i've build a (very small) standalone side project (so, running without > Web2Py) that uses the Web2Py DAL, and all goes well. > > Now i'm trying to enable record versioning. but this seems not to be > working (thread._local object has no attribute 'request') > > Has anybody succeeded in using record versioning in a standalone project? > > Any hints greatly appreciated! > > Jaap > > -- 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.