Opened 14 years ago

Last modified 13 years ago

#14268 closed

reset and sqlreset management commands should raise PendingDeprecationWarning for 1.3 — at Version 6

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.

Change History (8)

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
Note: See TracTickets for help on using tickets.
Back to Top