Clarify 'to_internal_value()' validation behavior by rpkilby · Pull Request #5466 · encode/django-rest-framework (original) (raw)

@tomchristie I take your point about steering people to validate_field, but does this change on its own not help that? i.e. removing the mention of validation from the opening paragraph.

Perhaps an additional note saying “make sure you read all the stuff higher up before you take on this” might be enough... it is in the Advance Use section.

(Slight aside, I think my first conversations on using DRF, moons ago, were around using validate_field functions to transform values.)