diff options
| author | James Pulec <jpulec@gmail.com> | 2015-09-29 10:52:26 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-28 11:10:47 -0500 |
| commit | f05722a08a11b2e6c6c9acdf2bacd6a6128ccbb0 (patch) | |
| tree | fabf7b0a182135926414d6608239d334292c61e9 /docs/ref | |
| parent | 5453aa66cfdf228f40dc1997d811ca986de405a3 (diff) | |
Fixed #25354 -- Added class/app_label interpolation for related_query_name.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/fields.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 0a33e96122..28c93bf60c 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1344,6 +1344,9 @@ The possible values for :attr:`~ForeignKey.on_delete` are found in # That's now the name of the reverse filter Article.objects.filter(tag__name="important") + Like :attr:`related_name`, ``related_query_name`` supports app label and + class interpolation via :ref:`some special syntax <abstract-related-name>`. + .. attribute:: ForeignKey.to_field The field on the related object that the relation is to. By default, Django |
