'Both pk and custom attribute_name can be used in filter and friends'

def test_querysets(self):

    self.assertQuerysetEqual(Employee.objects.filter(pk=123), ['Dan    Jones'], str)
    self.assertQuerysetEqual(Employee.objects.filter(employee_code=123), ['Dan    Jones'], str)
    self.assertQuerysetEqual(Employee.objects.filter(pk__in=[123, 456]), ['Fran    Bones', 'Dan    Jones'], str)
    self.assertQuerysetEqual(Employee.objects.all(), ['Fran    Bones', 'Dan    Jones'], str)
    self.assertQuerysetEqual(Business.objects.filter(name='Sears'), ['Sears'], (lambda b: b.name))
    self.assertQuerysetEqual(Business.objects.filter(pk='Sears'), ['Sears'], (lambda b: b.name))
