Hi Lucas, On Sep 1, 10:34 am, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote: > 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" >
Thanks for pointing this out. It had slipped through somehow. Regards Sanjiv > 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 Pythonhttp://lucasmanual.com/mywiki/OpenOffice > Commercial Grade Backup with Baculahttp://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 -~----------~----~----~----~------~----~------~--~---

