On Mar 1, 5:04 pm, "Diez B. Roggisch" <[email protected]> wrote:
> A scoped session is a factory for the actual sesion - but you can use > it directly, for that thread, there will be a local instance. So it's > perfectly fine to call DBSession.<whatever>, it should work. Thank - I'll give that a try. The confusing thing from the tutorial here: http://turbogears.org/2.0/docs/main/Wiki20/wiki20.html is the use of transaction. When does the transaction begin - during "import transaction"? Is there a reason to use this over def index: session = DBSession() ... session.commit() ? Demitri -- 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.

