update doc

This commit is contained in:
Milad Gholamrezaei 2020-06-09 18:20:52 +04:30
parent 87198ed998
commit a540dc1407

View File

@ -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``.
"""