Code

Ticket #13268: foreignkeyfield-name-docs.diff

File foreignkeyfield-name-docs.diff, 698 bytes (added by piquadrat, 4 years ago)

trivial doc patch

Line 
1diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
2index 286a0c4..28a3a7c 100644
3--- a/docs/topics/db/queries.txt
4+++ b/docs/topics/db/queries.txt
5@@ -442,7 +442,7 @@ Spanning multi-valued relationships
6 .. versionadded:: 1.0
7 
8 When you are filtering an object based on a ``ManyToManyField`` or a reverse
9-``ForeignKeyField``, there are two different sorts of filter you may be
10+``ForeignKey``, there are two different sorts of filter you may be
11 interested in. Consider the ``Blog``/``Entry`` relationship (``Blog`` to
12 ``Entry`` is a one-to-many relation). We might be interested in finding blogs
13 that have an entry which has both *"Lennon"* in the headline and was published