#1163: model.py_tmpl doesn't import assign_mapper (for SQLAlchemy projects)
------------------------+---------------------------------------------------
 Reporter:  plewis      |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  1.0b2    
Component:  TurboGears  |     Version:  1.0b1    
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 model.py_tmpl doesn't import assign_mapper, and so a NameError is thrown
 in projects that use sqlalchemy and identity

 All is needed is:

 {{{
 from sqlalchemy.ext.assignmapper import assign_mapper
 }}}

 inserted before the visits_table declaration

 I only have SA 0.2, but it looks to me like assign_mapper still comes from
 ext.assignmapper in 0.3 as well.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1163>
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.
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-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to