On May 20, 11:18 am, Karlo Lozovina <[EMAIL PROTECTED]> wrote:

> the new default, preferred way of using SQLalchemy with Pylons? It
> seems now I have to add something like:
> engine = engine_from_config(config, 'sqlalchemy.')
> init_model(engine)

Silly me :). What I wanted to say, I have to add that piece of code to
every action of my controllers. That seems somehow redundant to me...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to