diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:26:10 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 23:00:06 +0100 |
| commit | 6bf05c0267b388bdf6f2bda6f1915c1ac8a02b35 (patch) | |
| tree | 3855a1de9447780739c81e4383e95fb74a54d273 /docs/ref/forms/validation.txt | |
| parent | 6bca149af5b8e2d6fb6fe19bdb53904f07248033 (diff) | |
[1.6.x] Always use parentheses when documenting a method with no arguments.
Backport of 05d36dc06e6d767bb28993c65a54b703f319a386 from master.
Diffstat (limited to 'docs/ref/forms/validation.txt')
| -rw-r--r-- | docs/ref/forms/validation.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index 0a61f21de2..1a1d2bd8c7 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -371,7 +371,7 @@ 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 +.. 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 |
