[Grok-dev] Cancel button in forms

Brandon Craig Rhodes brandon at rhodesmill.org
Mon May 5 09:26:05 EDT 2008


Sebastian Ware <sebastian at urbantalk.se> writes:

> This is not necessary. I only do:
> ...
>         self.redirect(self.url(self.context))

I get tired of writing self.redirect(self.url(...)).  Given that
redirection, by definition, is always to a URL, could we improve
self.redirect() so that it always attempts to adapt its argument to a
URL?

-- 
Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon


More information about the Grok-dev mailing list