#2359: [PATCH] Add emulation of SQLAlchemy Session.mapper to turbogears.database
-------------------------+--------------------------------------------------
Reporter: Chris Arndt | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.1
Component: TurboGears | Version: 1.1b1
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Since Session.mapper is deprecated in SQLAlchemy >= 0.5.5 the attached
patch adds code to emulate its behaviour to turbogears.database follwing
this recipe from the SA wiki (with slight enhancements):
http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionAwareMapper
A possible improvement would be to make the use of this code configurable
through the app's config file.
--
Ticket URL: <http://trac.turbogears.org/ticket/2359>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---