Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#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)

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

Download all attachments as: .zip

Change History (3)

by Lllama, 19 years ago

Attachment: CASCADEOption.diff added

The patch itself

comment:1 by Russell Keith-Magee, 19 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 Adrian Holovaty, 18 years ago

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