Occasionally I have written a web2py app that makes use of a model/db from
another app. Basically, all that I do is define additional database
connections in models/db.py to the old app, and redeclare all the table
definitions.
I attempt to prevent accidental structure changes to the external
components are the most easy way. just code the grid where the models are
and then LOAD it inside your other application.
On Thursday, June 27, 2013 9:03:09 PM UTC+2, Tom Russell wrote:
I have 2 apps and one I want to use the model/db from it in the other in a
SQLFORM.grid. I have read
2 matches
Mail list logo