'Test that concrete model subclasses with generic relations work
correctly (ticket 11263).'

def test_subclasses_with_gen_rel(self):

    granite = Rock.objects.create(name=u'granite', hardness=5)
    TaggedItem.objects.create(content_object=granite, tag=u'countertop')
    self.assertEqual(Rock.objects.filter(tags__tag=u'countertop').count(), 1)
