'Queries across tables, involving primary key'

def test_querysets_relational(self):

    self.assertQuerysetEqual(Employee.objects.filter(business__name='Sears'), ['Fran    Bones', 'Dan    Jones'], str)
    self.assertQuerysetEqual(Employee.objects.filter(business__pk='Sears'), ['Fran    Bones', 'Dan    Jones'], str)
    self.assertQuerysetEqual(Business.objects.filter(employees__employee_code=123), ['Sears'], (lambda b: b.name))
    self.assertQuerysetEqual(Business.objects.filter(employees__pk=123), ['Sears'], (lambda b: b.name))
    self.assertQuerysetEqual(Business.objects.filter(employees__first_name__startswith='Fran'), ['Sears'], (lambda b: b.name))
