On Sat, May 23, 2009 at 9:09 AM, dakila <[email protected]> wrote:
>
> Hi All,
>
> How do I connect to two databases in tg2? I have been reading the
> information in [1,2], but have no idea how to do it in a quickstarted
> tg2 application.
>
Did you read the comments in the model.__init__.py it's pretty much
setup for you. Just create a second metadata

> [1] http://wiki.pylonshq.com/display/pylonsdocs/Using+SQLAlchemy+with+Pylons
> [2] 
> http://www.sqlalchemy.org/docs/04/session.html#unitofwork_contextual_partitioning_vertical
>
> Regards,
> Dax
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to