Am 20.05.2011 19:50 schrieb steve:
however, since the logout redirects to the login page, i think the
flash message is getting dropped.
what is the correct way to do this?

I would simply pass the message on in the post logout handler:

    @expose()
    def post_logout(self, came_from=url('/')):
        flash(flash.message or _('We hope to see you soon!'))
        redirect(came_from)

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