[Grok-dev] Getting the application in views and viewlets

Graham Stratton gns24 at mythic-beasts.com
Sun Jun 15 03:04:26 EDT 2008


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`  
property.

Do other people find this a common requirement, or is there something  
wrong with the way I'm developing applications?

Regards,

Graham 


More information about the Grok-dev mailing list