diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-09-02 19:33:56 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-09-02 19:33:56 +0000 |
| commit | f6a3652eb23b54948d3386231fb9781031092eb0 (patch) | |
| tree | e970e293bf5f6684cf04fcda302b961a23d6eeab /docs | |
| parent | 7a9b55ddc4d49775a696d1d34629ebbad2499fa3 (diff) | |
Fixed #8788: fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index f2b14f3874..f58e532c26 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -337,11 +337,11 @@ parameter when declaring the form field:: Overriding the clean() method ----------------------------- -You can overide the ``clean()`` method on a model form to provide additional -validation in the same way you can on a normal form. However, by default the +You can override the ``clean()`` method on a model form to provide additional +validation in the same way you can on a normal form. However, by default the ``clean()`` method validates the uniqueness of fields that are marked as unique -on the model, and those marked as unque_together, if you would like to overide -the ``clean()`` method and maintain the default validation you must call the +or unique_together on the model. Therefore, if you would like to override +the ``clean()`` method and maintain the default validation, you must call the parent class's ``clean()`` method. Form inheritance |
