Yes, it matters.

On Tuesday, 9 June 2015 22:06:47 UTC-5, Gene wrote:
>
> Regarding the appending of common fields, seems to work for me when its 
> declared at the beginning of the model file, not end. Does the placement 
> matter, can anyone confirm/deny?
>
> On Sunday, March 24, 2013 at 5:18:39 AM UTC+8, Peter Etchells wrote:
>>
>>
>> #this at end of model 
>>
>> #example of extra fields for all other tables except auth tables, which 
>> have already been defined above. this implements record versioning
>> for f in extra_fields:
>>     db._common_fields.append(f)
>>     
>>
>>

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