Opened 19 years ago
Closed 19 years ago
#2264 closed defect (fixed)
docs should mention that delete() cascades
| Reported by: | Owned by: | Jacob | |
|---|---|---|---|
| Component: | Documentation | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
some_model.delete() cascades over ForeignKey constraints. While this is certainly useful, it should be documented in the DB API. At least for me, it came as a surprise.
Attachments (1)
Change History (5)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:3 by , 19 years ago
| Triage Stage: | Design decision needed → Ready for checkin |
|---|
It seems unlikely that #2288 will be resolved any time soon, and in the meantime people need to know how the delete behavior works, so I'm attaching a patch and bumping to "ready for checkin".
comment:4 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This ticket depends upon the outcome of #2288.