diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2016-05-31 16:54:24 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2016-05-31 16:56:52 +0200 |
| commit | 1f7ab35c88953742521690c086c642d8229ffa53 (patch) | |
| tree | 51bed429f4a31a8d26c9fba0abb5af8400812961 /docs | |
| parent | 4dc1bf89cbc591f903af7c74c1a4480f8352d9da (diff) | |
[1.9.x] Fixed a typo in the docs.
Backport of 62e4f8ec435a4b600c8efb071201070a2443477e from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 5832e77ed5..a5c7937f1c 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -989,7 +989,7 @@ You can also use the normal join syntax to do related fields of related fields. Suppose we have an additional model to the example above:: class Restaurant(models.Model): - pizzas = models.ManyToMany(Pizza, related_name='restaurants') + pizzas = models.ManyToManyField(Pizza, related_name='restaurants') best_pizza = models.ForeignKey(Pizza, related_name='championed_by') The following are all legal: |
