[Twisted-web] Nevow guard with other than 'root' resource
James Y Knight
twisted-web@twistedmatrix.com
Sun, 7 Mar 2004 14:12:21 -0500
On Mar 7, 2004, at 1:28 PM, Janne Junnila wrote:
> This is the first time I post to this list and my question follows:
>
> I've tried to use Nevow's guard with non-root resource (Else than
> NevowSite).
> The problem that raises upon is following:
> exceptions.AttributeError: 'SessionWrapper' object has no attribute
> 'renderHTTP'
Janne mentioned on IRC that the actual goal is to be able to ask for
username/password login for some children but not others. Thus, I
suspect a solution where the SessionWrapper is on the root, but is
configured somehow to not require login except for certain resources
would work.
I dunno how to do that but it looks probably possible from the API?
James