1
0
mirror of https://github.com/django/django.git synced 2025-02-27 11:05:12 +00:00

Merge pull request from brad/ticket_18917

clarify clean_<field> docs, ticket 
This commit is contained in:
James Bennett 2012-09-07 12:00:01 -07:00
commit 46249061d6

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