Just wanted to add that when I test the validator separately it seems
to function properly, but it is not catching validation errors through
the form.
Python 2.5.5 (r255:77872, Feb 15 2010, 12:11:31)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> from myvalidators import UserNameValidator
>>>
>>> unv = UserNameValidator()
>>> try:
... unv.to_python('somename')
... except Exception, e:
... print e
...
User name not found
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.