Sweet code snippet.

On Tuesday, March 5, 2013 8:32:31 AM UTC-5, Niphlod wrote:
>
> luckily python is a programming language..... :P
>
> your_table_name = 'norecordversioninghere'
> versioning_only_on = [db[t] for t in db if t != yourtablename]
> auth.enable_record_versioning(versioning_only_on)
>
>
>
> On Tuesday, March 5, 2013 2:26:48 PM UTC+1, Philip Kilner wrote:
>>
>> Hi Niphlod, 
>>
>> On 05/03/13 13:21, Niphlod wrote: 
>> > watching at the source code, instead of 
>> > auth.enable_record_versioning(db) you can pass a list of tables 
>> > 
>>
>> Crikey - that'd be a long list here! 
>>
>> Thanks for the pointer - will dig... 
>>
>>
>> -- 
>>
>> Regards, 
>>
>> PhilK 
>>
>>
>> 'a bell is a cup...until it is struck' 
>>
>>

-- 

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