kvesteri / sqlalchemy-continuum

Versioning extension for SQLAlchemy.
BSD 3-Clause "New" or "Revised" License
575 stars 127 forks source link

Integration with Pyramid web framework #100

Open robertlagrant opened 9 years ago

robertlagrant commented 9 years ago

I've made a Stack Overflow question - if I should replicate it here please let me know!

Basically I've followed the Continuum instructions, I've (excitingly) got alembic to generate the History models very easily, but I think the problem is Continuum isn't getting access to the SQLAlchemy session (though I may be wrong with this diagnosis).

Is it possible to integrate correctly with Pyramid?

dwsc commented 8 years ago

I've integrated it into a sizeable Pyramid project. It's configuration is fairly close to what you have, except I'm not using the pyramid_basemodel template. I responded to your Stack Overflow question with what I think will get you running.