[Mpuls-commits] r2522 - wasko/branches/2.0/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Apr 26 15:46:34 CEST 2010
Author: torsten
Date: 2010-04-26 15:46:34 +0200 (Mon, 26 Apr 2010)
New Revision: 2522
Modified:
wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py (ExportSelectorValidator): Added new
validator for ExportSelection
Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py 2010-04-26 12:09:13 UTC (rev 2521)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py 2010-04-26 13:46:34 UTC (rev 2522)
@@ -605,6 +605,11 @@
))
case_id = ForEach(Int(), convert_to_list=True)
+class ExportSelectorValidator(BaseFormValidator):
+ filter_extra_fields = True
+ exportanonym = Bool()
+ exporttype = String()
+ exportselection = ForEach(String(), convert_to_list=True)
class SetBundleEditorForm(BaseFormValidator):
More information about the Mpuls-commits
mailing list