[Mpuls-commits] r3220 - wasko/trunk/waskoweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 21 12:07:24 CEST 2010


Author: torsten
Date: 2010-07-21 12:07:21 +0200 (Wed, 21 Jul 2010)
New Revision: 3220

Modified:
   wasko/trunk/waskoweb/lib/validators.py
Log:
Fixed Validators


Modified: wasko/trunk/waskoweb/lib/validators.py
===================================================================
--- wasko/trunk/waskoweb/lib/validators.py	2010-07-21 09:29:07 UTC (rev 3219)
+++ wasko/trunk/waskoweb/lib/validators.py	2010-07-21 10:07:21 UTC (rev 3220)
@@ -31,11 +31,11 @@
 
     name = String()
     vorname = String()
-    addresse_strasse_1 = formencode.validators.String()
-    addresse_strassenr_1 = formencode.validators.String()
-    addresse_plz_1 = formencode.validators.String()
-    addresse_ort_1 = formencode.validators.String()
-    aufnahme_typ     = formencode.validators.Int(if_missing=0)
+    addresse_strasse_1 = String()
+    addresse_strassenr_1 = String()
+    addresse_plz_1 = String()
+    addresse_ort_1 = String()
+    aufnahme_typ     = Int(if_missing=0)
     statement_signed = Bool(if_missing=False)
 
 class PermissionForm(BaseFormValidator):



More information about the Mpuls-commits mailing list