Fixed #7853 -- Fixed another case of deleting inherited models with foreign key
commit701cb944a4b7e195910af423ce55c1e2735aa8e1
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 28 Jul 2008 01:32:46 +0000 (28 01:32 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 28 Jul 2008 01:32:46 +0000 (28 01:32 +0000)
treea2b90e7750141317eb41eabcae5c17035752a39a
parent324f137f2df15515c665e7344349fd373538ae50
Fixed #7853 -- Fixed another case of deleting inherited models with foreign key
references. Thanks to Russell for the test case that demonstrated the problem.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/db/models/query.py
tests/regressiontests/model_inheritance_regress/models.py