Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove outdated ForeignKey manager documentation.

  • Loading branch information...
commit 1ad83145dff92117839400e4cfacdfee6473b2a6 1 parent bc02a96
@mfogel mfogel authored charettes committed
Showing with 0 additions and 9 deletions.
  1. +0 −9 docs/topics/db/queries.txt
View
9 docs/topics/db/queries.txt
@@ -1112,15 +1112,6 @@ above example code would look like this::
>>> b.entries.filter(headline__contains='Lennon')
>>> 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
"Retrieving objects" above, the :class:`~django.db.models.ForeignKey`
:class:`~django.db.models.Manager` has additional methods used to handle the
Please sign in to comment.
Something went wrong with that request. Please try again.