#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 , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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 , 14 years ago
Cc: | removed |
---|
Note:
See TracTickets
for help on using tickets.
related: #9308