diff pylons_app/controllers/admin/users.py @ 588:182ee00df287 demo

merged with default
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Oct 2010 02:27:44 +0200
parents b5e1a66b4aac 48be953851fc
children
line wrap: on
line diff
--- a/pylons_app/controllers/admin/users.py	Tue Sep 28 20:38:35 2010 +0000
+++ b/pylons_app/controllers/admin/users.py	Sun Oct 03 02:27:44 2010 +0200
@@ -17,6 +17,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 # MA  02110-1301, USA.
+from pylons_app.lib.utils import action_logger
 """
 Created on April 4, 2010
 users controller for pylons
@@ -71,6 +72,7 @@
             user_model.create(form_result)
             h.flash(_('created user %s') % form_result['username'],
                     category='success')
+            #action_logger(self.hg_app_user, 'new_user', '', '', self.sa)
         except formencode.Invalid as errors:
             return htmlfill.render(
                 render('admin/users/user_add.html'),