From 838386815f53fe2cba1b42c498420881660079d4 Mon Sep 17 00:00:00 2001
From: Nick Smith <nick.smith@torchbox.com>
Date: Fri, 27 May 2016 14:12:54 +0100
Subject: [PATCH] Fixed typo in docs/ref/models/querysets.txt

---
 docs/ref/models/querysets.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 6c05c7dc0b..a13bd7e4c8 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::