#1398 closed enhancement (wontfix)
[patch] Add --cascade option to output CASCADE deletes from django-admin.py
| Reported by: | Lllama | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | |
| Severity: | trivial | Keywords: | django-admin manage.py DROP CASCADE option |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
sqlclear and sqlreset will fail if you've got foreign key issues. This patch allows one to specify --cascade on the command line to output the appropriate DROP TABLE statements.
Attachments (1)
Change History (3)
by , 20 years ago
| Attachment: | CASCADEOption.diff added |
|---|
comment:1 by , 20 years ago
| Summary: | Adds --cascade option to output CASCADE deletes from django-admin.py → [patch] Add --cascade option to output CASCADE deletes from django-admin.py |
|---|
comment:2 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The patch itself