Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added an anchor for django.forms.Form.clean in docs

  • Loading branch information...
commit 8442268869a691767788bcbb4df90ddb28abb8f2 1 parent 58e4fe4
@timgraham timgraham authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  docs/ref/forms/validation.txt
2  docs/ref/forms/validation.txt
@@ -363,6 +363,8 @@ write a cleaning method that operates on the ``recipients`` field, like so::
Cleaning and validating fields that depend on each other
+.. method:: django.forms.Form.clean
Suppose we add another requirement to our contact form: if the ``cc_myself``
field is ``True``, the ``subject`` must contain the word ``"help"``. We are
performing validation on more than one field at a time, so the form's

0 comments on commit 8442268

Please sign in to comment.
Something went wrong with that request. Please try again.