mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7c18404a24
commit
4086167ba6
@ -611,7 +611,7 @@ Just like with ``ModelForms``, by default the ``clean()`` method of a
|
||||
the unique constraints on your model (either ``unique``, ``unique_together`` or
|
||||
``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
|
||||
classes ``clean`` method::
|
||||
class's ``clean`` method::
|
||||
|
||||
class MyModelFormSet(BaseModelFormSet):
|
||||
def clean(self):
|
||||
|
Loading…
Reference in New Issue
Block a user