Here is what I have: I have a legacy db in mysql named cep, so I'd created two dbs in my application, one for the app and one for this legacy table:
db = DAL('sqlite://storage.sqlite', pool_size=1, check_reserved=['all']) db_endereco = DAL('mysql://user:pass@localhost/cep') db_endereco.define_table('tend_estado', Field('id_estado', 'integer'), Field('estado', 'string', length=150), Field('uf', 'string', length=2), primarykey=['id_estado'], migrate=False) But when I go to APPADMIN and try to update a record: <https://lh3.googleusercontent.com/-GKEZbzlUHn0/UwDaI9dP3uI/AAAAAAAAEg4/KlEi40mEnAA/s1600/Untitled.png> When I point the mouse to link, look in the bottom of the image that instead of update it brings <function <lambda> at 0x.... Notice that for all other db. tables it works fine... but it wont work for all db_endereco. tables. -- 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/groups/opt_out.