Kevin Dangoor <[EMAIL PROTECTED]> writes:

> 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

Then you're assuming I'd use cherrypy. :-)  I don't think I'd need it with,
e.g., a pyQt application. 

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Reply via email to