Author: ianb
Date: 2006-05-12 14:09:08 -0600 (Fri, 12 May 2006)
New Revision: 1765
Modified:
FormEncode/trunk/formencode/validators.py
Log:
path for RequireIfMissing from Dennis Mulestein
Modified: FormEncode/trunk/formencode/validators.py
===================================================================
--- FormEncode/trunk/formencode/validators.py 2006-05-11 19:14:17 UTC (rev
1764)
+++ FormEncode/trunk/formencode/validators.py 2006-05-12 20:09:08 UTC (rev
1765)
@@ -2037,12 +2037,12 @@
class RequireIfMissing(FormValidator):
# Field that potentially is required:
- require = None
+ required = None
# If this field is missing, then it is required:
missing = None
# If this field is present, then it is required:
present = None
- __unpackargs__ = ('require',)
+ __unpackargs__ = ('required',)
def _to_python(self, value_dict, state):
is_required = False
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs