Hello,
I am trying to follow:
http://turbogears.org/2.0/docs/main/ToscaWidgets/forms.html
ps. you have a typo "from toscawidgets.api import WidgetsList" should
be "from tw.api import WidgetsList"

but I get the following error:
UnmappedInstanceError: Class '__builtin__.type' is not mapped; was a
class (addressbook.model.address.Addressbook) supplied where an
instance was required?


Any idea how to solve this?
I am importing my address.py in __init__.py in the last line as follows:
from addressbook.model.address import *

and in my root.py I import module as:
from addressbook.model import Addressbook


Thanks,
Lucas

-- 
OpenOffice and Python
http://lucasmanual.com/mywiki/OpenOffice
Commercial Grade Backup with Bacula
http://lucasmanual.com/mywiki/Bacula

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to