[Mpuls-commits] r1968 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 16 12:35:37 CET 2010


Author: torsten
Date: 2010-03-16 12:35:37 +0100 (Tue, 16 Mar 2010)
New Revision: 1968

Modified:
   wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
mpulsweb/lib/validators.py (SearchCaseForm): Moved from jmdweb


Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py	2010-03-16 10:52:56 UTC (rev 1967)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py	2010-03-16 11:35:37 UTC (rev 1968)
@@ -549,4 +549,8 @@
     phase = ForEach(String(), convert_to_list=True)
     show_percent = Bool(if_missing=False)
 
+class SearchCaseForm(BaseFormValidator):
+    gender = Int(if_missing='-2')
+    cm_state = Int(if_missing=None)
+
 # vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8



More information about the Mpuls-commits mailing list