[Twisted-web] Accessing CSS Style sheets and the like

stephen at thorne.id.au stephen at thorne.id.au
Mon Dec 6 17:25:20 MST 2004


On Mon, 6 Dec 2004 10:53:55 -0800, Michael Wilson <michael.wilson at gmail.com> wrote:
> Is there a way to tell Newvow/Twisted "All references beginning with
> (say) "blatz/" should just be fetched as files?

Sure:
self.putChild('blatz', static.File('/path/to/blatz'))


Regards,
Stephen Thorne



More information about the Twisted-web mailing list