Skip to content
Snippets Groups Projects
Commit ce54e287 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Catch exception raised by Unique Validator

The MAC field has both a Regexp and Unique validators.
In wtforms, the validation doesn't stop on the first error (all
validators are run).
In case of invalid mac address, the Unique validator makes a request to
the database that raises a DataError. This exception has to be catched.

JIRA INFRA-777 #action In Progress
parent c996f74d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment