Dnia 2008-07-17, o godz. 09:54:15
DJ <[EMAIL PROTECTED]> napisał(a):

> Hello Again,
> 
> I am using twisted.web.http to prototype a few webpages and link to my
> stylesheet ( <link rel=stylesheet type="text/css"
> href="configstyle.css" />) does not work.
> If I save the page has a standalone HTML file and open it in a browser
> window, everything works fine, but not when I call it through twisted.
> Does anyone know why and is there a workaround ?

You need to add static.File child to your root resource. Read about
addChild method of rend.Page . 

-- 
m

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to