summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorNick Smith <nick.smith@torchbox.com>2016-05-27 14:12:54 +0100
committerTim Graham <timograham@gmail.com>2016-05-27 09:13:17 -0400
commitdb056b2a63b84001450e5f0e8d9bd7c960c2b35c (patch)
tree790b9a8c620471c43ab64527150e9a46bd6eba15 /docs/ref
parent8f96859e1e5a277f18a76144d17017107280ac70 (diff)
[1.9.x] Fixed typo in docs/ref/models/querysets.txt
Backport of 838386815f53fe2cba1b42c498420881660079d4 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/querysets.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 1c488c7e33..5832e77ed5 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -933,7 +933,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::