Fixed typo: MultipleModelChoiceField -> ModelMultipleChoiceField.

This commit is contained in:
Tim Graham 2014-06-23 18:50:51 -04:00
parent 7f76251fb7
commit 535219e4f7
2 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ details on these changes.
prefixed by ``TEST_``, will no longer be supported.
* The `cache_choices` option to :class:`~django.forms.ModelChoiceField` and
:class:`~django.forms.MultipleModelChoiceField` will be removed.
:class:`~django.forms.ModelMultipleChoiceField` will be removed.
.. _deprecation-removed-in-1.8:

View File

@ -480,11 +480,11 @@ The class :class:`~django.core.management.NoArgsCommand` is now deprecated and
will be removed in Django 2.0. Use :class:`~django.core.management.BaseCommand`
instead, which takes no arguments by default.
``cache_choices`` option of ``ModelChoiceField`` and ``MultipleModelChoiceField``
``cache_choices`` option of ``ModelChoiceField`` and ``ModelMultipleChoiceField``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:class:`~django.forms.ModelChoiceField` and
:class:`~django.forms.MultipleModelChoiceField` took an undocumented, untested
:class:`~django.forms.ModelMultipleChoiceField` took an undocumented, untested
option ``cache_choices``. This cached querysets between multiple renderings of
the same ``Form`` object. This option is subject to an accelerated deprecation
and will be removed in Django 1.9.