Robust uniqueness checks. by tomchristie · Pull Request #4217 · encode/django-rest-framework (original) (raw)
Uniqueness checks for an invalid value should quietly pass, as the value does not exist.
This allows other validators to correctly catch the invalid input and return an appropriate error message, rather than resulting in a hard 500 failure.