diff options
| author | Nick Smith <nick.smith@torchbox.com> | 2016-05-27 14:12:54 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-27 09:13:12 -0400 |
| commit | 06db2b88cfa441a0af3b07c5f192f9f00b46716c (patch) | |
| tree | b017554cd708875c2fcbb3a9a00e610e7a3b6586 /docs/ref | |
| parent | dfae72f45a74b8fe3a08fe0a48c11bfeb9b9efda (diff) | |
[1.10.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.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 7a67438b38..f9e13bdf06 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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:: |
