diff --git a/rest_framework/validators.py b/rest_framework/validators.py index 2f3aadef9..e5acb598e 100644 --- a/rest_framework/validators.py +++ b/rest_framework/validators.py @@ -40,6 +40,9 @@ class PasswordValidator: Should be applied to an individual field on the serializer. + If you use this class at serializers' field validators, UserAttributeSimilarityValidator won't affect + You can use validate_FOO() and pass user to PasswordValidator. + If the password is valid, return ``None``. """