[Mpuls-commits] r1402 - wasko/branches/2.0/waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 16:11:15 CET 2010


Author: torsten
Date: 2010-02-09 16:11:14 +0100 (Tue, 09 Feb 2010)
New Revision: 1402

Modified:
   wasko/branches/2.0/waskaweb/lib/validators.py
Log:
Import EditSettingsForm from mpulsweb.validators


Modified: wasko/branches/2.0/waskaweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/validators.py	2010-02-09 15:11:00 UTC (rev 1401)
+++ wasko/branches/2.0/waskaweb/lib/validators.py	2010-02-09 15:11:14 UTC (rev 1402)
@@ -32,7 +32,7 @@
 import time
 
 from mpulsweb.lib.validators import BaseFormValidator, NewPasswordForm, \
-ValidatorStateObject, EditUserGroupForm, NewUserGroupForm
+ValidatorStateObject, EditUserGroupForm, NewUserGroupForm, EditSettingsForm
 
 class MyDateConverter(formencode.validators.FancyValidator):
 
@@ -195,10 +195,6 @@
     statement_signed   = formencode.validators.Bool(if_missing=False)
     aufnahme_typ       = formencode.validators.Int(if_missing=0)
 
-class EditSettingsForm(BaseFormValidator):
-    anon_transfer = formencode.validators.String(if_missing='off')
-    max_speicherdauer = MaxMinInt(min=7, max=180, not_empty=True)
-
 class SearchCaseForm(BaseFormValidator):
     gender   = formencode.validators.Int(if_missing='-2')
     cm_state = formencode.validators.Int(if_missing=None)



More information about the Mpuls-commits mailing list