http://trac.turbogears.org/ticket/1911

or more specifically

http://trac.turbogears.org/attachment/ticket/1911/forms.txt.diff

import sqlalchemy.types as types

will probably fix your type error.

On Sep 1, 1: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"
>
> 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?

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