[Twisted-web] livepage url confused

noema mailinglists at shechen.at
Sun Feb 27 18:20:16 MST 2005


In my livepage code the url tree seems to be confused

url.root   ... returns the current path while

url.root.child('some child')   .... throws me an error


When I looked at url.py I noticed that one may call rememberRootURL() on 
the rootpage to remember the correct root...doing something like this 
failed though:

req = context.locate(inevow.IRequest)
req.rememberRootURL()

How and where would I remember the correct root url?

#noema





More information about the Twisted-web mailing list