We don't have a convention for "flash".  I've been remiss in seeing how the 
other frameworks implement this, but I *think* something like this would be 
closest:

return render_template_to_response('some/template.pt', message='Updated')

And in the template:

<div class="someclass">${message}</div>

- C

On 7/8/09 2:34 AM, Iain Duncan wrote:
> Hey folks, wondering what the conventional way of flashing a message
> after a model update when using HTTPFound for redirects. Is this
> something that people roll-their-own for, or is there a standard to
> follow? I'd like to make sure my crud app is as bfg'ish as possible so
> it can be useful to others.
>
> Thanks
> Iain
>
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev
>

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to