hi, I'm stuck and sweating with a "should be simple, so common" problem related sqlalchemy and portable pyramid app development.
I would like bind together several apps using config.include. All these apps use their own DBSession and Base declarations. The DBSession shouldn't cause any troubles as scoped session is used everywhere, but this is not true about the Base declarations. If I don't want to import the Base of one of my apps (it's not feasible in my case anyway), then I have to move every already defined table from other models' metadata to this Base.metadata, otherwise SQLAlchemy can not find related tables as they are contained within separate metadatas. Moreover, even when I come up with some really dirty solution and manage to run the pserve, the populate script needs a different approach just like writing tests, and it seems to me that in every situation I should invent new approaches, and I'm running out of ideas. :) I guess that overcoming such situations should be a common task, so I would be glad if you would share your experiences with me. thanks, Viktor -- 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.
