#9308: Django fails to set nullable foreign key field to NULL before deleting the referenced record ---------------------------------------------------+------------------------ Reporter: egenix_viktor | Owner: nobody Status: new | Milestone: 1.1 Component: Database layer (models, ORM) | Version: 1.0 Resolution: | Keywords: delete record foreign key constraint check NULL nullable field Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by bthomas):
* needs_tests: 1 => 0 Comment: I updated the test case mentioned in this bug's description to actually verify that E.f is set to null. It fails before the patch and passes afterwords, regardless of backend or deferred constraint checking. -- Ticket URL: <http://code.djangoproject.com/ticket/9308#comment:13> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---