def test_to_field(self):
        apple = Food.objects.create(name="apple")
        eaten = Eaten.objects.create(food=apple, meal="lunch")

        apple.delete()
Login multiple users in the same API call
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/delete_regress/tests.py/DeleteCascadeTransactionTests.test_to_field--crossover with--dataset/ETHPy150Open PaloAltoNetworks/SplunkforPaloAltoNetworks/bin/lib/pandevice/pandevice/userid.py/UserId.logins