Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9902 -- Corrected misspelling in form validation documentation…

…, thanks zunzun.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 05737128de79ec1935ba7df31f9c34258e869b3c 1 parent bcae5fc
Gary Wilson Jr. authored December 23, 2008

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. 5  docs/ref/forms/validation.txt
5  docs/ref/forms/validation.txt
@@ -122,7 +122,7 @@ There is an example of modifying ``self._errors`` in the following section.
122 122
     if it's not for external usage. In this case, you are subclassing the
123 123
     ``Form`` class, so you are essentially writing new internals. In effect,
124 124
     you are given permission to access some of the internals of ``Form``.
126 126
     Of course, any code outside your form should never access ``_errors``
127 127
     directly. The data is available to external code through the ``errors``
128 128
     property, which populates ``_errors`` before returning it).
@@ -291,7 +291,7 @@ extra design effort to create a sensible form display. The details are worth
291 291
 noting, however. Firstly, earlier we mentioned that you might need to check if
292 292
 the field name keys already exist in the ``_errors`` dictionary. In this case,
293 293
 since we know the fields exist in ``self.cleaned_data``, they must have been
-valid when cleaned as individual fields, so there will be no corresonding
+valid when cleaned as individual fields, so there will be no corresponding
295 295
 entries in ``_errors``.
296 296
297 297
 Secondly, once we have decided that the combined data in the two fields we are
@@ -302,4 +302,3 @@ In fact, Django will currently completely wipe out the ``cleaned_data``
302 302
 dictionary if there are any errors in the form. However, this behaviour may
303 303
 change in the future, so it's not a bad idea to clean up after yourself in the
304 304
 first place.

0 notes on commit 0573712

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