Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected a usage example of `related_query_name`.

Thanks to Petr Glotov for spotting this.
  • Loading branch information...
commit 05a8cef4288e2a85dbaff12bc2683a75c9998618 1 parent 135a58f
@charettes charettes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/fields.txt
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.