[Grok-dev] Re: Getting the application in views and viewlets
faassen at startifact.com
Thu Jun 19 13:41:36 EDT 2008
Leonardo Rochael Almeida wrote:
>> 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.
More information about the Grok-dev