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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 23 16:35:49 CET 2010


Author: torsten
Date: 2010-02-23 16:35:48 +0100 (Tue, 23 Feb 2010)
New Revision: 1707

Modified:
   wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py (SetStandinForm): Copied from waskaweb.
* mpulsweb/lib/validators.py (SetEditorForm): Copied from waskaweb.


Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py	2010-02-23 15:24:49 UTC (rev 1706)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py	2010-02-23 15:35:48 UTC (rev 1707)
@@ -349,4 +349,12 @@
 class EditLogbookForm(CreateLogbookForm):
     pass
 
+class SetEditorForm(BaseFormValidator):
+    pass
+
+class SetStandinForm(BaseFormValidator):
+    filter_extra_fields = True
+    case_id = Int()
+    standin = ForEach(Int())
+
 # vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8



More information about the Mpuls-commits mailing list