diff options
| author | Mike Fogel <mike@fogel.ca> | 2013-05-06 22:43:06 -0700 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2013-05-07 10:06:15 -0400 |
| commit | 1ad83145dff92117839400e4cfacdfee6473b2a6 (patch) | |
| tree | c1fa55e2609bfc6834851ea91d3ab73cb061cead | |
| parent | bc02a963db3aeebf7c349d83a492b6e093f42b00 (diff) | |
Remove outdated ForeignKey manager documentation.
| -rw-r--r-- | docs/topics/db/queries.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index c4f7ee59ae..2553eac27a 100644 --- a/docs/topics/db/queries.txt +++ b/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 |
