Commit 9d13b6ec authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

Changed some ReST formatting of headers (in forms/validation.txt).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent ca33f07e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ already know which fields have passed their individual validation requirements.
.. _described later:

Form subclasses and modifying field errors
==========================================
------------------------------------------

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
@@ -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.

Using validation in practice
=============================
----------------------------

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