Kaydet (Commit) 05a8cef4 authored tarafından Simon Charette's avatar Simon Charette

Corrected a usage example of `related_query_name`.

Thanks to Petr Glotov for spotting this.
üst 135a58f9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment