nevermind, found the answer pass the parameters in config.ini as: sqlalchemy.second.paramnae = somevalue
On Tuesday, September 4, 2012 10:15:23 AM UTC+3, alonn wrote: > > In my applicaton I use 2 sqlalchemy engines,I need to pass specific args > to one of them. how can I do this? > > tried adding them to the connection url but this isn't the right way, > checked app_cfg and saw: > > engine2 = engine_from_config(pylons_config, 'sqlalchemy.second.') > > that the args are coming in this format with pylons_config , which is the > same for both engines > how should I do this? > > thanks > > using tg 2.1.4 with sqlalchemy 0.7.3,python 2.7 > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/PJJtN0TOpzUJ. 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.

