[Grok-dev] Re: Getting the application in views and viewlets
Sebastian Ware
sebastian at urbantalk.se
Thu Jun 19 17:07:18 EDT 2008
19 jun 2008 kl. 19.41 skrev Martijn Faassen:
> Hey,
>
> Leonardo Rochael Almeida wrote:
> [snip]
>>> Graham, patches are welcome. I think the getSite() approach might
>>> be the
>>> best approach right now.
>> Or maybe a fallback approach? Register the application as a local
>> utility and if that doesn't work, log a deprecation warning and look
>> it up through getSite() and __parent__.
>
> Not a bad idea. One question is when we'd ever be free to remove the
> fallback then. We'd still need to solve the upgrade problem.
>
Isn't this the same type of upgrade problem one has when adding
indexes to an existing application. If it is, finding a nice and
simple solution for these kind of upgrades would be a very big
improvement.
Mvh Sebastian
More information about the Grok-dev
mailing list