1
0
mirror of https://github.com/django/django.git synced 2025-01-25 09:39:23 +00:00

[1.10.x] Fixed typo in docs/ref/models/querysets.txt

Backport of 838386815f53fe2cba1b42c498420881660079d4 from master
This commit is contained in:
Nick Smith 2016-05-27 14:12:54 +01:00 committed by Tim Graham
parent dfae72f45a
commit 06db2b88cf

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::