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

Sebastian Ware sebastian at urbantalk.se
Tue Nov 3 04:40:37 EST 2009


2 nov 2009 kl. 21.43 skrev Jan-Wijbrand Kolman:

> 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.
>
You are right, that would be great solution for me!

Mvh Sebastian



More information about the Grok-dev mailing list