Ticket #15191: form_validation_grammar.diff

File form_validation_grammar.diff, 680 bytes (added by berto, 14 years ago)

form validation grammar fix

  • docs/ref/forms/validation.txt

    diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt
    index 1c047f2..d5f4070 100644
    a b far. So you also need to remember to allow for the fact that the fields you  
    290290are wanting to validate might not have survived the initial individual field
    291291checks.
    292292
    293 There are two way to report any errors from this step. Probably the most
     293There are two ways to report any errors from this step. Probably the most
    294294common method is to display the error at the top of the form. To create such
    295295an error, you can raise a ``ValidationError`` from the ``clean()`` method. For
    296296example::
Back to Top