summaryrefslogtreecommitdiff
path: root/docs/ref/forms/validation.txt
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-12-22 04:18:00 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-12-22 04:18:00 +0000
commit9d13b6ec28dbe7f060f97436fb379935637ddc44 (patch)
treeaecd63972e9d92eb50be6968da8eaeb6c814537d /docs/ref/forms/validation.txt
parentca33f07e2c555c16b60ae287ffa994c7a3d6c1c9 (diff)
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
Diffstat (limited to 'docs/ref/forms/validation.txt')
-rw-r--r--docs/ref/forms/validation.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt
index 3ad9ce956e..3cfd6e0bfb 100644
--- a/docs/ref/forms/validation.txt
+++ b/docs/ref/forms/validation.txt
@@ -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