On Mon, Aug 1, 2011 at 11:19 AM, Carlos de la Guardia <
carlos.delaguar...@gmail.com> wrote:

> You can register a callback that is called after the transaction ends,
> so that the logging can be done there. See this page, near the end o
>

That's interesting, but kinda defeats the purpose of logging and flash
messages if you have to write a function and register it to after-end after
every little thing.

I wonder if it makes sense to change the function of request.session() if
tm2 is there? If the view code doesn't commit, perhaps all actions within it
should also not execute? Probably too blanket of a statement.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to