test_validators.py
12.4 KB
-
Use model error_messages when available · 62c000bc
In the automatically applied UniqueValidator, use the error message from error_messages defined in the model instead of the generic default UniqueValidator message. This fixes #2878.
Stian Jensen committed