diff options
Diffstat (limited to 'funcweb/sample-prod.cfg')
-rw-r--r-- | funcweb/sample-prod.cfg | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/funcweb/sample-prod.cfg b/funcweb/sample-prod.cfg index 6ca2b4e..7f6cc6e 100644 --- a/funcweb/sample-prod.cfg +++ b/funcweb/sample-prod.cfg @@ -8,23 +8,16 @@ # DATABASE +# driver://username:password@host:port/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" +# sqlalchemy.dburi="postgres://username@hostname/databasename" +# sqlalchemy.dburi="mysql://username:password@hostname:port/databasename" +# sqlalchemy.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" +sqlalchemy.dburi="sqlite:///%(current_dir_uri)s/devdata.sqlite" # SERVER |