[Mpuls-commits] r1364 - wasko/branches/2.0/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 12:47:04 CET 2010


Author: torsten
Date: 2010-02-09 12:47:03 +0100 (Tue, 09 Feb 2010)
New Revision: 1364

Modified:
   wasko/branches/2.0/mpulsweb/controllers/administration.py
Log:
Imported formencode


Modified: wasko/branches/2.0/mpulsweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 11:45:44 UTC (rev 1363)
+++ wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 11:47:03 UTC (rev 1364)
@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 import logging
+import formencode
 
 from pylons import request, response, session, tmpl_context as c
 from pylons.controllers.util import abort, redirect_to
@@ -63,7 +64,7 @@
         admins = userlist.getAdminList()
         c.userlist = userlist.getUserList(filter=[u.id for u in admins])
         form = render('/administration/edit_usergroup.mako')
-        return htmlfill.render(unicode(form, 'utf-8'),
+        return formencode.htmlfill.render(unicode(form, 'utf-8'),
                                c.form_result,
                                c.form_errors,
                                auto_insert_errors=False)



More information about the Mpuls-commits mailing list