SyrusAkbary/Flask-SuperAdmin — pull request #98 by wojcikstefan (2013-08-09 04:36:39+00:00)
Title: Fix integer field validation for the MongoEngine backend

WTForms has a weird way of validating an integer field (https://bitbucket.org/simplecodes/wtforms/issue/94/integerfield-unexpected-behavior-when). This fix makes sure that 0 is a valid value.

See the test case for more details.