[Grok-dev] grok.url() requiring a request object a bit inconvenient

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Nov 2 15:43:20 EST 2009


Sebastian Ware wrote:
> And this is an inconvenience because I have to figure out how to get  
> the request object, and then repeat that code whenever I use  
> gork.url()...

Not with my previous proposal formalizing the "hack" of retrieving the 
request with something like grok.global_request(). This would not 
require a change in grok.url() and at the same time retrieving the 
request will not force you to repeat code.

regards,
jw



More information about the Grok-dev mailing list