def test_use_explicit_o2o_to_parent_as_pk(self):
        self.assertEqual(ParkingLot2._meta.pk.name, "parent")

        # However, the connector from child to parent need not be the pk on
        # the child at all.
        self.assertEqual(ParkingLot3._meta.pk.name, "primary_key")
        # the child->parent link
        self.assertEqual(
            ParkingLot3._meta.get_ancestor_link(Place).name,
            "parent")
Update the IP filter. Used for compiling search queries and firewall
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/model_inheritance_regress/tests.py/ModelInheritanceTest.test_use_explicit_o2o_to_parent_as_pk--crossover with--dataset/ETHPy150Open mozilla/inventory/core/network/models.py/Network.update_ipf