[Grok-dev] Re: Cancel button in forms

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon May 5 09:49:18 EDT 2008

Brandon Craig Rhodes wrote:
> 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?

What does "adapt its arguments to a URL" mean? You should be able to 
redirect to *any* URL, not just ones that are "creatable" through 


More information about the Grok-dev mailing list