[Twisted-web] Athena LivePage as a main page
jackowski.piotr at gmail.com
Thu Feb 5 01:44:51 EST 2009
I'm new to Nevow and Athena.
I have rather basic question. How to make athena livepage with livefragment
available from top path '/'.
LivePage has to be created every request, so
site =3D appserver.NevowSite(AthenaLivePageClass())
gives error after first refresh.
Every example shows rend.Page() as a top pages and then for /foo creates
f =3D AthenaLivePageClass()
I came up with something like this:
def child_(self, ctx):
I can now refresh, as many times as I want, and every time there is a new
Nevow, Divmod and etc ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-web