summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2008-03-18 19:02:24 +0000
committerJames Bennett <ubernostrum@gmail.com>2008-03-18 19:02:24 +0000
commit57ddcdb0c858e772ed741e25b8e303cb7a55472b (patch)
treef4eca9cafa85f9619de62f52b94f6d671868cf6e
parentdf225aee18176e9997d102185bc490a52b31e2fc (diff)
Fixed #6683: corrected some typos in docs/newforms.txt. Thanks PJCrosier for the patch, and Atul Varma for spotting the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/newforms.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt
index 4e5df6d149..ff66f40e41 100644
--- a/docs/newforms.txt
+++ b/docs/newforms.txt
@@ -1596,9 +1596,9 @@ The three types of cleaning methods are:
These methods are run in the order given above, one field at a time. That is,
for each field in the form (in the order they are declared in the form
-definition), the ``Field.clean()`` method (or it's override) is run, then
+definition), the ``Field.clean()`` method (or its override) is run, then
``clean_<fieldname>()``. Finally, once those two methods are run for every
-field, the ``Form.clean()`` method, or it's override, is executed.
+field, the ``Form.clean()`` method, or its override, is executed.
As mentioned above, any of these methods can raise a ``ValidationError``. For
any field, if the ``Field.clean()`` method raises a ``ValidationError``, any
@@ -1720,7 +1720,7 @@ For example, take the following simple form::
comment = forms.CharField()
This form will include three default TextInput widgets, with default rendering -
-no CSS class, no extra attributes. This means that the inputs boxes provided for
+no CSS class, no extra attributes. This means that the input boxes provided for
each widget will be rendered exactly the same::
>>> f = CommentForm(auto_id=False)