Fixed typo in docs/ref/models/querysets.txt

This commit is contained in:
Nick Smith 2016-05-27 14:12:54 +01:00 committed by Tim Graham
parent 36d36818a3
commit 838386815f
1 changed files with 1 additions and 1 deletions

View File

@ -923,7 +923,7 @@ For example, suppose you have these models::
def __str__(self): # __unicode__ on Python 2
return "%s (%s)" % (
self.name,
", ".join(topping.name or topping in self.toppings.all()),
", ".join(topping.name for topping in self.toppings.all()),
)
and run::