summaryrefslogtreecommitdiff
path: root/docs/topics/forms/modelforms.txt
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2025-08-22 12:36:48 -0300
committernessita <124304+nessita@users.noreply.github.com>2025-08-25 10:51:10 -0300
commit4286a23df64f6ce3b9b6ed097f4d1aac7d9e0de4 (patch)
treee7225d1586c174b5945f595b3759b7c6dddbdae1 /docs/topics/forms/modelforms.txt
parent01a460f23e470555a733b8980401402b7947bb9f (diff)
Refs #36485 -- Removed double spaces after periods in sentences.
Diffstat (limited to 'docs/topics/forms/modelforms.txt')
-rw-r--r--docs/topics/forms/modelforms.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index c02d4d7809..a5deeb324a 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -410,7 +410,7 @@ you've manually saved the instance produced by the form, you can invoke
Calling ``save_m2m()`` is only required if you use ``save(commit=False)``.
When you use a ``save()`` on a form, all data -- including many-to-many data --
-is saved without the need for any additional method calls. For example:
+is saved without the need for any additional method calls. For example:
.. code-block:: pycon
@@ -490,7 +490,7 @@ include that field.
Django will prevent any attempt to save an incomplete model, so if
the model does not allow the missing fields to be empty, and does
not provide a default value for the missing fields, any attempt to
- ``save()`` a ``ModelForm`` with missing fields will fail. To
+ ``save()`` a ``ModelForm`` with missing fields will fail. To
avoid this failure, you must instantiate your model with initial
values for the missing, but required fields::
@@ -1107,7 +1107,7 @@ Overriding ``clean()`` on a ``ModelFormSet``
Just like with a ``ModelForm``, by default the ``clean()`` method of a
``ModelFormSet`` will validate that none of the items in the formset violate
the unique constraints on your model (either ``unique``, ``unique_together`` or
-``unique_for_date|month|year``). If you want to override the ``clean()`` method
+``unique_for_date|month|year``). If you want to override the ``clean()`` method
on a ``ModelFormSet`` and maintain this validation, you must call the parent
class's ``clean`` method::