9 Jul
2003
9 Jul
'03
9:01 a.m.
On ke, 09.07.2003 at 09:37 +0100, Phil Bradbury wrote:
Is it possible to check ONLY the container folder for the existence of the required 'content.html' file and if it does not exist to use the 'no-content.html' file from above? If so, how is it done?
if 'content.html' not in context.objectIds(): response.redirect('no-content.html') else: response.redirect('content.html') I would have used 'return context.content.html()', but I just realized, that I have no idea, how the '.' in 'content.html' is interpreted. -- paavo. "joskus voi tää meno käydä ahdistavaksi kun on täällä muodostunut tavaksi muuttaa jokaisen elämän arvo rahaksi"