Remove outdated ForeignKey manager documentation.

This commit is contained in:
Mike Fogel 2013-05-06 22:43:06 -07:00 committed by Simon Charette
parent bc02a963db
commit 1ad83145df
1 changed files with 0 additions and 9 deletions

View File

@ -1112,15 +1112,6 @@ above example code would look like this::
>>> b.entries.filter(headline__contains='Lennon') >>> b.entries.filter(headline__contains='Lennon')
>>> b.entries.count() >>> b.entries.count()
You cannot access a reverse :class:`~django.db.models.ForeignKey`
:class:`~django.db.models.Manager` from the class; it must be accessed from an
instance::
>>> Blog.entry_set
Traceback:
...
AttributeError: "Manager must be accessed via instance".
In addition to the :class:`~django.db.models.query.QuerySet` methods defined in In addition to the :class:`~django.db.models.query.QuerySet` methods defined in
"Retrieving objects" above, the :class:`~django.db.models.ForeignKey` "Retrieving objects" above, the :class:`~django.db.models.ForeignKey`
:class:`~django.db.models.Manager` has additional methods used to handle the :class:`~django.db.models.Manager` has additional methods used to handle the