On 06 Jan 2006 12:23:24 -0200, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> What is necessary to use one apps model.py outside of its original TG
> application?  I mean, I create an application 'xyz', define a model and then
> use it with this application.  Now I want to provide another mean to access
> my data -- e.g. through a GUI or CLI -- and to avoid recreating the wheel (and
> redefining users, connections, etc.) I want to reuse model.py.  How can I do
> that?

Offhand, I think there are two steps:

1) set up the sqlobject.dburi in cherrypy.config
2) import and use

Kevin

Reply via email to