Hello,
I have recently gotten into pylons. I have been doing a bunch of
reading and have noticed that there is a lot of disparity in the
documentation about how to best implement AuthKit using sqlalchemy to
store data. In the pylons book(
http://pylonsbook.com/) they seem to
use sqlalchemy 0.4 to define their models. But in section about using
Authkit with sqlalchemy they use the authkit.users.sqlalchemy_driver
which only works with sqlalchemy 0.3. There seems to be a driver for
0.4 that uses the SQLAlchemyManager (
http://pypi.python.org/pypi/
SQLAlchemyManager).
From what have been reading SQLAlchemyManager IS NOT the preferred way
of using sqlalchemy with wsgi apps nor is it the method that most of
the docs on pylonshq use to implement sqlalchemy.
So what im getting at is this....I have re written
authkit.users.sqlalchemy_driver to work with slqalchemy 0.4+. I have
implemented it in a way that should be friendly with how the people at
pylonshq describe using sqlalchemy in the QuickWiki tutorial (http://
wiki.pylonshq.com/display/pylonsdocs/QuickWiki+Tutorial#the-model). Is
this code helpful to anyone else out there? If so where is the best
place for me to post this code?
Thanks,
-Shawn