On Tue, Jan 25, 2011 at 7:10 PM, denysonique <[email protected]> wrote:
> Hi,
> I am trying to follow this tutorial 
> http://turbogears.org/2.1/docs/main/Extensions/Crud/index.html
> , but unfortunately I get this error when trying to access the view:
>

You forgot to add the call to the constructor of the TableBase ending
in having <crud.controllers.root.OrderTable object at 0xf00b4r>
rendered instead of the table, which indeed isn't valid markup.

change
order_table = OrderTable
to
order_table = OrderTable(DBSession)

and it should work

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