Why is self.static not available in views on layers? class Robots(grok.View): grok.name('robots.txt') grok.layer(SpiderLayer) def render(self): outp = [] outp.append('User-agent: *') s = self.static().split('/') The last line fails due to static not being defined. Mvh Sebastian