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.

Wondering if there a hook exists through which i can change the parent
to child execution of sql to child to parent through our DB2 Django
adaptor.

Any help would be appreciated

Thanks,
Rahul Priyadarshi

-- 
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.

Reply via email to