Code

Ticket #4547: newforms-typos.diff

File newforms-typos.diff, 1.5 KB (added by Grant Kelly <gkelly@…>, 7 years ago)

Fixed a few small typos in newforms doc

Line 
1Index: newforms.txt
2===================================================================
3--- newforms.txt        (revision 5467)
4+++ newforms.txt        (working copy)
5@@ -1224,7 +1224,7 @@
6 this process, there are various places you can change, each one serving a
7 different purpose. Thee types of cleaning methods are run during form
8 processing. These are normally executed when you call the ``is_valid()``
9-method on a form. There are other things that can kick of cleaning and
10+method on a form. There are other things that can kick off cleaning and
11 validation (accessing the ``errors`` attribute or calling ``full_clean()``
12 directly), but normally they won't be needed.
13 
14@@ -1234,7 +1234,7 @@
15 method should return the cleaned (normalised) data as a Python object.
16 
17 If you detect multiple errors during a cleaning method and wish to signal all
18-of them to the form submittor, it is possible to pass a list of errors to the
19+of them to the form submitter, it is possible to pass a list of errors to the
20 ``ValidationError`` constructor.
21 
22 The three types of cleaning methods are:
23@@ -1293,7 +1293,7 @@
24 The previous paragraph means that if you are overriding ``Form.clean()``, you
25 should iterate through ``self.cleaned_data.items()``, possibly considering the
26 ``_errors`` dictionary attribute on the form as well. In this way, you will
27-already know which fields have passed thei individual validation requirements.
28+already know which fields have passed their individual validation requirements.
29 
30 A simple example
31 ~~~~~~~~~~~~~~~~