+1

Setting the db uri (and at this point I would add executing tg-admin
sql create) usually to your project dir is the step I hate.

To address Jorge concerns, I would propose to not make SQLite a
dependency (no problem for me anyway).

Maybe we can try to import pysqlite and if we don't get an exception we
can ask something like:
"Do you want turbogears to prepare a SQLite database for your project?
[Yes]"

Yes, give me a db ready to go.

Ciao
Michele

Ronald Jaramillo wrote:
> ++1
> On Jan 20, 2006, at 5:41 PM, Bob Ippolito wrote:
>
> >
> > On Jan 20, 2006, at 8:30 AM, Kevin Dangoor wrote:
> >
> >>
> >> On 1/20/06, Mike Kent <[EMAIL PROTECTED]> wrote:
> >>>
> >>> Excellent, 'nosetests' in the svn checkout directory now works.
> >>>
> >>> But there are failures.  Apparently sqlite is also required now?
> >>
> >> Yeah, I should mention that somewhere. sqlite is *not* required by
> >> TurboGears itself, but the tests do require it. sqlite is a very good
> >> database for tests because you can make an in-memory database
> >> which is
> >> blazingly fast and requires no cleanup.
> >
> > Maybe the tg-admin quickstart template should include a sqlite db
> > uri relative to the project, so you can get right into the toolbox
> > and get prototyping after a quickstart?  Would also be nice to have
> > a tool to migrate one DB URI to another, given a model module.
> >
> > -bob
> >
>
> ________________________________
> Ronald Jaramillo
> mail: ronald AT checkandshare DOT com
> blog: http://www.checkandshare.com/blog

Reply via email to