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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 6 21:18:53 CEST 2011


Author: bh
Date: 2011-10-06 21:18:52 +0200 (Thu, 06 Oct 2011)
New Revision: 5414

Modified:
   base/trunk/mpulsweb/controllers/meta.py
Log:
The render function takes relative filenames not URLs,
so don't call url_for on its parameters.


Modified: base/trunk/mpulsweb/controllers/meta.py
===================================================================
--- base/trunk/mpulsweb/controllers/meta.py	2011-10-06 14:07:55 UTC (rev 5413)
+++ base/trunk/mpulsweb/controllers/meta.py	2011-10-06 19:18:52 UTC (rev 5414)
@@ -390,7 +390,7 @@
         start = html.find(sneedle)
         end = html.find(eneedle) + len(eneedle)
         c.metacase = unicode(html[start:end], 'utf-8')
-        return render(url_for('/meta/case.mako'))
+        return render('/meta/case.mako')
 
     def digest(self, id):
         '''Will return the digest part of the meta case html'''



More information about the Mpuls-commits mailing list