Kevin Dangoor wrote:
> On 12/29/05, Michele Cella <[EMAIL PROTECTED]> wrote:
> > Something like this seems pretty good and nice looking (at least to
> > me):
> >
> >    raise turbogears.HTTPRedirect("/notfound", pagename= pagename)
> >
> > It's still like the CherryPy one (and not a departure from the CherryPy
> > philosophy), but it uses the turbogears.url function (that anyway you
> > are supposed to always use on your TG apps) and it helps to take away
> > some boilerplate code.
> >
> > I know we already had this discussion back in the early days, but IIRC
> > turbogears.url was not there.
>
> Yeah, that wasn't something we talked about. I like this idea! Submit
> a ticket, please. (Target it for milestone 1.0.)
>

Done and with a patch (that seems to work at least here). :-)

http://trac.turbogears.org/turbogears/ticket/311

Ciao
Michele

Reply via email to