Mercurial > genshi > mirror
diff examples/turbogears/sample-prod.cfg @ 110:64ff134868c4 trunk
update the example TurboGears app and include an example of using TurboGears wigets
author | mgood |
---|---|
date | Fri, 28 Jul 2006 18:57:55 +0000 |
parents | 49364e784c47 |
children | 84168828b074 |
line wrap: on
line diff
--- a/examples/turbogears/sample-prod.cfg +++ b/examples/turbogears/sample-prod.cfg @@ -6,20 +6,23 @@ # (such as template engine, encodings, etc.) all go in # markuptest/config/app.cfg -# DATABASE - # pick the form for your database # sqlobject.dburi="postgres://username@hostname/databasename" # sqlobject.dburi="mysql://username:password@hostname:port/databasename" # sqlobject.dburi="sqlite:///file_name_and_path" +# If you have sqlite, here's a simple default to get you started +# in development +sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite" + + # if you are using a database or table type without transactions # (MySQL default, for example), you should turn off transactions # by prepending notrans_ on the uri # sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename" # for Windows users, sqlite URIs look like: -# sqlobject.dburi="sqlite:///drive_letter|/path/to/file" +# sqlobject.dburi="sqlite:///drive_letter:/path/to/file" # SERVER