Option to raise FormEncode.Invalid

Issue #1 resolved
paj
repo owner created an issue

Have a config option that causes validators to raise FormEncode.Invalid, instead of the tw2. exception. This allows compatibility with Turbogears 2.0 @HCC

Comments (3)

  1. paj reporter

    The fix doesn't use a config options; if formencode is present, ValidationError is a subclass of formencode.Invalid. On reflection, can't think how to unit test this, so closing now.

  2. Log in to comment