File '.../pylonsServer/pylonsserver/controllers/authtest.py', line 6
in <module>
users.group_create("pylons")
File '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
site-packages/AuthKit-0.4.1dev_r132-py2.5.egg/authkit/users/
sqlalchemy_driver.py', line 178 in group_create
new_group.flush()
AttributeError: 'Group' object has no attribute 'flush'
I think this error is repeated at least through the x_create methods
but haven't looked deep enough to find a fix for it yet.
Any ideas.
ejs
Sorry for the interruption/thanks for the prompt fix.
ejs
Yes, the session isn't being released properly in the code you
suggested. I've written a new driver for SQLAlchemy which uses the (as
yet unreleased) SQLAlchemyManager middleware here:
There is an example here:
http://authkit.org/trac/browser/AuthKit/trunk/examples/user/database/app.py
Cheers,
James