I believe you were closest with SQLite.  Also, SQLite has far fewer
config gotchas.  (As much as I love PostgreSQL, I always stumble a
couple of times in the security config before I get things usable.

Like I said earlier, I would by-pass 'tg-admin sql create' for now.
It's just a 'convenience feature', after all. (Ironic, isn't it?) ;-)

For an arbitrary model.py, you can:

tg-admin sql sql

and it will emit the SQL that you need to run to create your database.

Go to your project directory and:

tg-admin sql sql > myschema.txt

sqlite3 mydatabasefilename.db
.read myschema.txt
.schema
.quit

Then you can proceed with your project.  Nothing in
TurboGears/SQLObject is DBMS specific, so you can develop in SQLite and
deploy in any supported DB you like.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to