I agree. The fix should be in TurboGears. I believe the following
patch overcomes the create_session problem with SA 0.4 without
breaking SA 0.3.10:
--- database.py.orig 2007-09-08 20:03:37.000000000 -0400
+++ database.py 2007-09-08 20:05:03.000000000 -0400
@@ -56,7 +56,7 @@
if not metadata.is_bound():
bind_meta_data()
- return sqlalchemy.create_session()
+ return sqlalchemy.orm.create_session()
metadata = activemapper.metadata
session = activemapper.Objectstore(create_session)
Will post this to the trac.
--Renier
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---