[Mpuls-commits] r5990 - base/trunk/mpulsweb/controllers
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Fri Jun 15 15:54:15 CEST 2012
Author: bricks
Date: 2012-06-15 15:54:14 +0200 (Fri, 15 Jun 2012)
New Revision: 5990
Modified:
base/trunk/mpulsweb/controllers/formularpage.py
Log:
get_rederered_page must be defined after the PageRederer class definition
Modified: base/trunk/mpulsweb/controllers/formularpage.py
===================================================================
--- base/trunk/mpulsweb/controllers/formularpage.py 2012-06-15 09:23:22 UTC (rev 5989)
+++ base/trunk/mpulsweb/controllers/formularpage.py 2012-06-15 13:54:14 UTC (rev 5990)
@@ -44,8 +44,6 @@
return result
-get_rendered_page = PageRenderer().get_rendered_page
-
class PageRenderer(object):
def __init__(self):
@@ -132,6 +130,8 @@
return render('/formularpage/content.mako')
+get_rendered_page = PageRenderer().get_rendered_page
+
class FormularpageController(BaseController):
def index(self):
More information about the Mpuls-commits
mailing list