Am 17.01.2006 um 22:18 schrieb Kevin Dangoor:


On 1/17/06, Martina Oefelein <[EMAIL PROTECTED]> wrote:
I attempted to make a patch, but I borked it at the last moment and
now have
no source reference... d'oh!

Never mind, I made a patch that avoids cookies, and thus the security
risk. My patch lets you use arbitrary objects with flash.

See #297 in trac:
http://trac.turbogears.org/turbogears/ticket/297

That misses part of the value of tg.flash.

turbogears.flash("Changes saved!")
turbogears.redirect("/")

There's no template rendered *until the next request* in that case,
which is why the flash function exists.

Oops - and I was wondering ...
Back to mte's patch. I'll try to amend my tests with one that tests this usage.

But not today - must go to bed now...

ciao
Martina

Reply via email to