[Mpuls-commits] r5457 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 12 13:41:40 CEST 2011


Author: bh
Date: 2011-10-12 13:41:38 +0200 (Wed, 12 Oct 2011)
New Revision: 5457

Modified:
   base/trunk/mpulsweb/controllers/formularpage.py
Log:
No application uses the rg_digests config setting anymore.
All applications define the digests in the formedtree.xml files now.
So stop passing the digest config to the RepeatGroupRenderer.


Modified: base/trunk/mpulsweb/controllers/formularpage.py
===================================================================
--- base/trunk/mpulsweb/controllers/formularpage.py	2011-10-12 11:31:14 UTC (rev 5456)
+++ base/trunk/mpulsweb/controllers/formularpage.py	2011-10-12 11:41:38 UTC (rev 5457)
@@ -72,8 +72,6 @@
     if isinstance(page, RepeatInstanceContainerNode):
         formdata = TreeFormData(instance_tree)
         renderer = RepeatGroupRenderer(formdata, page.getMeta(), url_factory,
-                                       digests=g.mpuls_config.get("renderer",
-                                                                  "rg_digests"),
                                        **renderer_kw_args)
         errors = {}
         defaults = {}



More information about the Mpuls-commits mailing list