Index: tests/modeltests/model_inheritance/models.py
===================================================================
--- tests/modeltests/model_inheritance/models.py	(revision 8060)
+++ tests/modeltests/model_inheritance/models.py	(working copy)
@@ -116,6 +116,9 @@
     def __unicode__(self):
         return u"%s the parking lot" % self.name
 
+class Product(models.Model):
+    supplier = models.ForeignKey(Supplier)
+
 __test__ = {'API_TESTS':"""
 # The Student and Worker models both have 'name' and 'age' fields on them and
 # inherit the __unicode__() method, just as with normal Python subclassing.
@@ -309,4 +312,7 @@
 3
 >>> settings.DEBUG = False
 
+>>> Product.objects.filter(supplier=Supplier())
+[]
+
 """}
