Utilities¶
The grok.util module provides functions which are less commonly
used, and so are not available for import directly from the grok module.
grok.util.application_url()¶
This function is also available as a method on the grok.View class.
- grok.util.application_url(request, obj, name=None, skin=<object object>, data={})[source]¶
Return the URL of the nearest enclosing
grok.Application.Raises
ValueErrorif no application can be found.
grok.util.applySkin()¶
grok.util.getApplication()¶
This function is also availbale in the main grok namespace and can be
called as grok.getApplication().
- grok.util.getApplication()[source]¶
Return the nearest enclosing
grokcore.site.Application.Raises
ValueErrorif no application can be found.
