I bumped into a problem today after having had reasonable luck
upgrading to 1.1rc1
, line 110, in <module>
mapper( RegistrationPendingUser, registration_pending_user_table)
File "/home/kgk/work/bisquik/bisquik-fixes/python/lib/python2.5/site-
packages/TurboGears-1.1-py2.5.egg/turbogears/database.py", line 117,
in mapper
if cls.__init__ is object.__init__ or
cls.__init__._session_mapper:
AttributeError: 'function' object has no attribute '_session_mapper'
I've added the
from turbogears.database import session_mapper as mapper
to my model files,
Maybe it should have been?
getattr (cls.__init__. '_session_mapper', False)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---