Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13731 closed (wontfix)

Missing docs how to emulate "ON DELETE SET NULL"

Reported by: Thomas Güttler Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The documentation does not explain how to emulate "ON DELETE SET NULL":

http://docs.djangoproject.com/en/dev/topics/db/queries/#deleting-objects

Even a delete() method of your model does not help, since this is not called
if you delete objects with bulk delete of a queryset.

Change History (4)

comment:1 by Thomas Güttler, 14 years ago

Cc: hv@… added

comment:2 by Thomas Güttler, 14 years ago

related: #9308

comment:3 by Russell Keith-Magee, 14 years ago

Resolution: wontfix
Status: newclosed

The documentation shouldn't be documenting how to emulate ON DELETE SET NULL -- it should have an actual implementation of that behaviour. This is the subject of #7539.

comment:4 by anonymous, 14 years ago

Cc: hv@… removed
Note: See TracTickets for help on using tickets.
Back to Top