mirror of
https://github.com/django/django.git
synced 2025-07-21 01:59:26 +00:00
[1.0.X] Changed some ReST formatting of headers (in forms/validation.txt).
Backport of r9666 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
73534cd942
commit
6dd5c855d4
@ -90,7 +90,7 @@ already know which fields have passed their individual validation requirements.
|
|||||||
.. _described later:
|
.. _described later:
|
||||||
|
|
||||||
Form subclasses and modifying field errors
|
Form subclasses and modifying field errors
|
||||||
==========================================
|
------------------------------------------
|
||||||
|
|
||||||
Sometimes, in a form's ``clean()`` method, you will want to add an error
|
Sometimes, in a form's ``clean()`` method, you will want to add an error
|
||||||
message to a particular field in the form. This won't always be appropriate
|
message to a particular field in the form. This won't always be appropriate
|
||||||
@ -134,7 +134,7 @@ There is an example of modifying ``self._errors`` in the following section.
|
|||||||
explanation makes you feel more comfortable. The result is the same.
|
explanation makes you feel more comfortable. The result is the same.
|
||||||
|
|
||||||
Using validation in practice
|
Using validation in practice
|
||||||
=============================
|
----------------------------
|
||||||
|
|
||||||
The previous sections explained how validation works in general for forms.
|
The previous sections explained how validation works in general for forms.
|
||||||
Since it can sometimes be easier to put things into place by seeing each
|
Since it can sometimes be easier to put things into place by seeing each
|
||||||
|
Loading…
x
Reference in New Issue
Block a user