[Mpuls-commits] r1441 - wasko/branches/2.0/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Feb 10 11:02:58 CET 2010
Author: torsten
Date: 2010-02-10 11:02:58 +0100 (Wed, 10 Feb 2010)
New Revision: 1441
Modified:
wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py (EditUserForm): Copied from waskaweb.
Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py 2010-02-10 10:00:56 UTC (rev 1440)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py 2010-02-10 10:02:58 UTC (rev 1441)
@@ -207,6 +207,9 @@
activated = formencode.validators.StringBoolean(if_missing=False)
newpass = formencode.validators.StringBoolean(if_missing=False)
+class EditUserForm(NewUserForm):
+ login = None
+
class NewUserGroupForm(BaseFormValidator):
name = UserGroupExistsCheck(not_empty=True)
More information about the Mpuls-commits
mailing list