[Grok-dev] Grok 1.0 final?

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Apr 15 11:28:17 EDT 2009

Martin Aspeli wrote:
> Oh right. That was a fun one, by the way. In regular viewlets, the 
> viewlet is accessible as 'view' (confusing, perhaps) in the template, 
> but in a grok view you use 'viewlet' (better, perhaps).

This was a concious decision indeed as in "regular" viewlets there was
only a arcane way to get to the view itself (via __parent__ if I
remember well).

Having easy access to the view makes it convenient to use the url()
method on the view.


More information about the Grok-dev mailing list