Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#14268 closed (fixed)

reset and sqlreset management commands should raise PendingDeprecationWarning for 1.3

Reported by: Carl Meyer Owned by: laurentluce
Component: Core (Management commands) Version: dev
Severity: Keywords:
Cc: mmitar@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Russell Keith-Magee)

These commands break a lot and should be deprecated.

The underlying problem was reported as #2493; it's been duplicated a couple of times (#7731, #9348). Resetting individual tables is a hard problem; Django can't be a substitute for a good DBA in this case.

Attachments (2)

reset_sqlreset_warnings.diff (3.4 KB ) - added by laurentluce 14 years ago.
reset_sqlreset_warnings.2.diff (3.2 KB ) - added by laurentluce 14 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Carl Meyer, 14 years ago

Triage Stage: UnreviewedAccepted

Marking accepted per Malcolm and Russ.

comment:2 by Mitar, 14 years ago

Cc: mmitar@… added

comment:3 by laurentluce, 14 years ago

Owner: changed from nobody to laurentluce

comment:4 by laurentluce, 14 years ago

Status: newassigned
  • added PendingDeprecationWarning to reset command in django/core/management/commands/reset.py
  • added PendingDeprecationWarning to sqlreset in django/core/management/sql.py
  • updated docs/releases/1.3.txt and docs/ref/django-admin.txt

comment:5 by laurentluce, 14 years ago

Has patch: set

by laurentluce, 14 years ago

by laurentluce, 14 years ago

comment:6 by Russell Keith-Magee, 14 years ago

Component: Uncategorizeddjango-admin.py
Description: modified (diff)
Triage Stage: AcceptedReady for checkin

comment:7 by Jannis Leidel, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [14888]) Fixed #14268 -- Start the deprecation of the reset and sqlreset management command. Thanks, Carl.

comment:8 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top