Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#1398 closed enhancement (wontfix)

[patch] Add --cascade option to output CASCADE deletes from

Reported by: Lllama Owned by: Adrian Holovaty
Component: Core (Management commands) Version:
Severity: trivial Keywords: django-admin DROP CASCADE option
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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)

CASCADEOption.diff (2.5 KB) - added by Lllama 11 years ago.
The patch itself

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Lllama

Attachment: CASCADEOption.diff added

The patch itself

comment:1 Changed 11 years ago by Russell Keith-Magee

Summary: Adds --cascade option to output CASCADE deletes from[patch] Add --cascade option to output CASCADE deletes from

comment:2 Changed 10 years ago by Adrian Holovaty

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top