Fixed #16580 - Typo in docs/ref/models/querysets.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
815a47ff48
commit
953fed1e30
|
@ -672,7 +672,7 @@ This is also valid::
|
||||||
...and would also pull in the ``building`` relation.
|
...and would also pull in the ``building`` relation.
|
||||||
|
|
||||||
You can refer to any ``ForeignKey`` or ``OneToOneField`` relation in
|
You can refer to any ``ForeignKey`` or ``OneToOneField`` relation in
|
||||||
the list of fields passed to ``select_related``. Ths includes foreign
|
the list of fields passed to ``select_related``. This includes foreign
|
||||||
keys that have ``null=True`` (unlike the default ``select_related()``
|
keys that have ``null=True`` (unlike the default ``select_related()``
|
||||||
call). It's an error to use both a list of fields and the ``depth``
|
call). It's an error to use both a list of fields and the ``depth``
|
||||||
parameter in the same ``select_related()`` call, since they are
|
parameter in the same ``select_related()`` call, since they are
|
||||||
|
|
Loading…
Reference in New Issue