Hello,

I'm looking at http://docs.turbogears.org/1.0/CRUDTemplate and I can't
stop but wonder:

BookMark(**kw)
flash("${modelname} was successfully created.")
raise redirect("list")

how can I get the BookMark id that was just created and redirect to it
instead of the list?

record = BookMark.get(int(id))

Is the int(id) really necessary?

Thanks for your thoughts,
Andrej


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