Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1398 closed enhancement (wontfix)

[patch] Add --cascade option to output CASCADE deletes from django-admin.py

Reported by: Lllama Owned by: adrian
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: UI/UX:

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 9 years ago.
The patch itself

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Lllama

The patch itself

comment:1 Changed 9 years ago by russellm

  • Summary changed from Adds --cascade option to output CASCADE deletes from django-admin.py to [patch] Add --cascade option to output CASCADE deletes from django-admin.py

comment:2 Changed 9 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top