Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #488 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

Add relative dburi in quickstart project

Reported by: kevin Owned by: anonymous
Priority: normal Milestone: 0.9a6
Component: TurboGears Version:
Severity: normal Keywords:
Cc:

Description

A good idea from Bob Ippolito:

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? 

Change History

comment:1 Changed 13 years ago by godoy

  • Milestone set to 0.9

+1 on that. I needed it for sending a test case for a bug and since I'm not a sqlite user I didn't know what to do. Besides, this also makes it easier to setup "self-contained" applications making them easier to install.

Since this is a very small change -- one line --, I'm adding a milestone of 0.9 to it. Feel free to remove or change it if needed.

comment:2 Changed 13 years ago by jvanasco@…

a: see also http://trac.turbogears.org/turbogears/ticket/444

b: it would be nice if (dev|prod).cfg contained this comment: "SQLite can only be used locally (with a URI like sqlite:///file or sqlite:/file)" (thats an error message from sqlite if you use the wrong syntax)

If you've used sqlite a lot, the difference in URI's shouldn't matter, but if an automatic local URI is being created , it would be nice to note the difference in an absolute URI

comment:3 Changed 13 years ago by anonymous

-1 some that has never use SQLLite could get confused. Also since the URI is diferent for windows/linux well need 2 "defaults" so a check will be needed for the OS.

comment:4 Changed 13 years ago by michele

No, I think we get the right uri using setuptools.

And a comment explaining that the uri is there for convenience but you can safely change/comment it.

comment:5 Changed 13 years ago by kevin

  • Milestone changed from 0.9 to 1.0b1

comment:6 Changed 13 years ago by kevin

  • Status changed from new to closed
  • Resolution set to fixed

Done in [1348]

comment:7 Changed 13 years ago by kevin

  • Milestone changed from 1.0b1 to 0.9a6
Note: See TracTickets for help on using tickets.