Thanks carl for updating me about this fix. I was using 1.3-beta-1 version of django. When i run it with latest trunk version it works fine.
Thanks, Rahul Priyadarshi On Feb 24, 9:16 am, Carl Meyer <carl.j.me...@gmail.com> wrote: > Hi Rahul, > > On Feb 21, 12:56 am, Rahul <rahul.priyadar...@in.ibm.com> wrote: > > > When i ran the test cases ( "modeltests/delete/ > > test_inheritance_cascade_up" ) which were doing cascade up for > > inherited models, it failed for DB2 cause of the fact that DB2 doesn't > > support initial deferred constraint checks like behavior, hence it is > > must to execute delete statement from child to parent, however when I > > traced the sql execution for "modeltests/delete/ > > test_inheritance_cascade_up" test case, what I find is Django tried to > > execute delete sql from parent to child. I already had the flag > > "can_defer_constraint_checks" set to false inside DatabaseFeatures. > > What version of Django are you developing against? This sounds very > much like #15118 [1], which is present in the 1.3 beta but was fixed > in trunk over a month ago by r15246 [2]. > > Carl > > [1]http://code.djangoproject.com/ticket/15118 > [2]http://code.djangoproject.com/changeset/15246 -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.