Commit 1f7ab35c authored by Florian Apolloner's avatar Florian Apolloner
Browse files

[1.9.x] Fixed a typo in the docs.

Backport of 62e4f8ec from master.
parent 4dc1bf89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: