1
0
mirror of https://github.com/django/django.git synced 2025-03-24 16:20:46 +00:00

clarify clean_<field> docs, ticket

This commit is contained in:
Brad Pitcher 2012-09-07 10:43:55 -04:00
parent 39aa8901e1
commit c634375e9c

@ -70,9 +70,8 @@ overridden:
formfield-specific piece of validation and, possibly,
cleaning/normalizing the data.
Just like the general field ``clean()`` method, above, this method
should return the cleaned data, regardless of whether it changed
anything or not.
This method should return the cleaned value obtained from cleaned_data,
regardless of whether it changed anything or not.
* The Form subclass's ``clean()`` method. This method can perform
any validation that requires access to multiple fields from the form at