mirror of
https://github.com/django/django.git
synced 2025-07-18 16:49:13 +00:00
[1.0.X] Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for the report.
Merge of r11047 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7ccd095755
commit
82ffb6747f
@ -579,7 +579,7 @@ Just like with ``ModelForms``, by default the ``clean()`` method of a
|
|||||||
the unique constraints on your model (either ``unique``, ``unique_together`` or
|
the unique constraints on your model (either ``unique``, ``unique_together`` or
|
||||||
``unique_for_date|month|year``). If you want to overide the ``clean()`` method
|
``unique_for_date|month|year``). If you want to overide the ``clean()`` method
|
||||||
on a ``model_formset`` and maintain this validation, you must call the parent
|
on a ``model_formset`` and maintain this validation, you must call the parent
|
||||||
classes ``clean`` method::
|
class's ``clean`` method::
|
||||||
|
|
||||||
class MyModelFormSet(BaseModelFormSet):
|
class MyModelFormSet(BaseModelFormSet):
|
||||||
def clean(self):
|
def clean(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user