5 Dec
2003
5 Dec
'03
1:12 p.m.
From: "Petter Holmström" <petter.holmstrom@abo.fi>
def index_html(self, REQUEST): template = DTMLFile( self.private_views['view'], globals() ).__of__(self) return template()
Now I just have to figure out why this works... :-)
Because the things you need are acquired, and to acquire you need to wrap the object. This is done automatically if it's an attribute, but in this case it isn't.