KMCB schrieb:
> This is not much different then the Edit template in the Wiki20
> tutorial, but using tw.forms.  Should this load be done in the
> template instead?

Yes. You set

tmpl_context.edit_form = item_edit_form

and in the template you render it with your data as item_edit_form(item).

The actual update happens in your 'create' method which should be 
renamed to "store". That method needs to either update or insert 
depending on whether the item already exists.

-- Christoph

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