I have many tables that share common attributes, so for convenience and ease of refactoring, I decided to define such common fields and then simply reference those fields when defining tables. For example:
namefield = Field("name") db.define_table('table1', namefield) db.define_table('table2', namefield) This works correctly on 2.14.6 but somewhere along the way to version 2.15.4 something changed such that the above code yields the error "Field table1.name is already bound to a table" This is probably due to upgrading to a new PyDAL version. It looks like I'll have to refactor to use table inheritance or the .clone() method. Just leaving this here in case others find the same error. -- 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.