Ticket #16580: 16580.diff
File 16580.diff, 699 bytes (added by , 13 years ago) |
---|
-
docs/ref/models/querysets.txt
672 672 ...and would also pull in the ``building`` relation. 673 673 674 674 You can refer to any ``ForeignKey`` or ``OneToOneField`` relation in 675 the list of fields passed to ``select_related``. Th s includes foreign675 the list of fields passed to ``select_related``. This includes foreign 676 676 keys that have ``null=True`` (unlike the default ``select_related()`` 677 677 call). It's an error to use both a list of fields and the ``depth`` 678 678 parameter in the same ``select_related()`` call, since they are