diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-24 07:19:07 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-24 07:19:07 +0000 |
| commit | 73ea785d6b6a26fe16145c962fa5b9f00c428d19 (patch) | |
| tree | e6d353554794700e91de54ffa29a62818f2ec51a /docs/ref | |
| parent | 6c8561249943cb11ec89cd574f1cbcef9ecb0c8a (diff) | |
[1.0.X] Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.
Backport of r9255 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/forms/validation.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index af3b7f23f3..25b900e824 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -100,10 +100,10 @@ through the ``Form.non_field_errors()`` method. When you really do need to attach the error to a particular field, you should store (or amend) a key in the `Form._errors` attribute. This attribute is an -instance of a ``django.form.utils.ErrorDict`` class. Essentially, though, it's +instance of a ``django.forms.util.ErrorDict`` class. Essentially, though, it's just a dictionary. There is a key in the dictionary for each field in the form that has an error. Each value in the dictionary is a -``django.form.utils.ErrorList`` instance, which is a list that knows how to +``django.forms.util.ErrorList`` instance, which is a list that knows how to display itself in different ways. So you can treat `_errors` as a dictionary mapping field names to lists. |
