[Grok-dev] Re: Getting the application in views and viewlets
janwijbrand at gmail.com
Mon Jun 16 15:49:56 EDT 2008
Graham Stratton wrote:
> I seem to quite often need to get the application, or the application
> url, in views and viewlets.
> Views have the application_url method, but viewlets don't. I'd be
> tempted to suggest that both views and viewlets grow an `application`
> Do other people find this a common requirement, or is there something
> wrong with the way I'm developing applications?
I think your issues are addressed by my post just now  about the
jw-viewlet-fix branch and https://bugs.launchpad.net/grok/+bug/226555.
As a result of the fix for that bug, there is actually no need anymore
for having an (application_)url() method on the viewlets.
More information about the Grok-dev