[Twisted-Python] twisted.web.woven.controller -- minor bugfix [PATCH]
G'day, A couple of minor bugs in controller, fixed in this patch. cheers, jml Index: controller.py =================================================================== RCS file: /cvs/Twisted/twisted/web/woven/controller.py,v retrieving revision 1.2 diff -u -r1.2 controller.py --- controller.py 23 Sep 2002 20:41:48 -0000 1.2 +++ controller.py 25 Sep 2002 11:00:51 -0000 @@ -19,8 +19,8 @@ from twisted.python import components from twisted.python import mvc from twisted.web import resource -from twisted.web.woven import view - +from twisted.web.woven import template +from twisted.python import log class WController(mvc.Controller, resource.Resource): """ @@ -45,7 +45,7 @@ def process(self, request, **kwargs): log.msg("Processing results: ", kwargs) - return view.RESTART_RENDERING + return template.RESTART_RENDERING def registerControllerForModel(controller, model):
participants (1)
-
Jonathan Lange