mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
update doc
This commit is contained in:
parent
87198ed998
commit
a540dc1407
|
@ -40,6 +40,9 @@ class PasswordValidator:
|
||||||
|
|
||||||
Should be applied to an individual field on the serializer.
|
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``.
|
If the password is valid, return ``None``.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user