Refs #12663 -- Removed deprecated Model._meta methods.

This commit is contained in:
Tim Graham 2015-08-17 08:50:34 -04:00
parent 08ab262649
commit c64dd646f5
3 changed files with 3 additions and 334 deletions

View file

@ -70,18 +70,6 @@ Retrieving a single field instance of a model by name
...
FieldDoesNotExist: User has no field named 'does_not_exist'
.. deprecated:: 1.8
:meth:`Options.get_field()` previously accepted a ``many_to_many``
parameter which could be set to ``False`` to avoid searching
``ManyToManyField``\s. The old behavior has been preserved for
backwards compatibility; however, the parameter and this behavior
has been deprecated.
If you wish to filter out ``ManyToManyField``\s, you can inspect the
:attr:`Field.many_to_many <django.db.models.Field.many_to_many>`
attribute after calling ``get_field()``.
Retrieving all field instances of a model
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~