On Wednesday 12 August 2009 11:46:26 adam wrote:
> When you install TG2 the database is within the devdata.db. I want to
> host my application with a third part hosting sercer and used the
> database provided. I have look for documentation on how to change this
> but found nothing.
>
> Can someone tell me if this is possible and point me in the direction
> of some documentation.

Please take a look at your .ini, they contain (in every generated project) the 
following lines:

# pick the form for your database
# %(here) may include a ':' character on Windows environments; this can
# invalidate the URI when specifying a SQLite db via path name
# sqlalchemy.url=postgres://username:password:p...@hostname/databasename

sqlalchemy.url = sqlite:///%(here)s/devdata.db

Does that give you a start?

Diez

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to