summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2014-08-29 23:06:31 -0400
committerSimon Charette <charette.s@gmail.com>2014-08-29 23:10:30 -0400
commit05a8cef4288e2a85dbaff12bc2683a75c9998618 (patch)
tree30fa0152a84f5e6c1dde2d32957da33c509dad83 /docs/ref
parent135a58f9dc9dd121b8e3577538456fb15f63b897 (diff)
Corrected a usage example of `related_query_name`.
Thanks to Petr Glotov for spotting this.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 42b6cd2217..e06a359ec8 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -1167,7 +1167,7 @@ define the details of how the relation works.
name = models.CharField(max_length=255)
# That's now the name of the reverse filter
- article_instance.filter(tag__name="important")
+ Article.objects.filter(tag__name="important")
.. attribute:: ForeignKey.to_field