[Twisted-web] how to offload to an xml page the text in formless
James Y Knight
foom at fuhm.net
Mon Dec 6 11:10:28 MST 2004
On Dec 4, 2004, at 12:48 PM, Andrea Arcangeli wrote:
> I really like the concept of splitting the "text" from the "code". I
> don't want having to restart the server just to correct a typo...
Don't know about the freeform issue, but, it *is* possible to reload
the code without restarting the server from scratch. I made a page
which executes the python 'reload(module)' on all my page-rendering
modules, and then resets the root object to a new instance of the top
level page, so that the site actually uses the newly-reloaded code.
This seems to work pretty well.
More information about the Twisted-web