Opened 15 years ago

Closed 12 years ago

#5065 closed (wontfix)

Add a post_reset signal to "manage.py reset <app>"

Reported by: gav@… Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords: post_syncdb post_reset reset management.py
Cc: mmitar@… Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently, there's no equivalent signal to syncdb's post_syncdb for reset. Since reset re-creates a given app's DB elements, it would be useful to be able to perform a subset of the similar types of activities that are done with post_syncdb.

Also, this models the way that all apps are polled for their management.py during syncdb, in case resetting one app has effects on other apps that should be handled via the signal.

Attachments (1)

post_reset_signal.patch (2.2 KB) - added by gav@… 15 years ago.
Patch that provides post_reset signal against r5788.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by gav@…

Attachment: post_reset_signal.patch added

Patch that provides post_reset signal against r5788.

comment:1 Changed 15 years ago by Michael Radziej

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 13 years ago by Tobias McNulty

Would love to see this implemented

comment:3 Changed 12 years ago by Mitar

Cc: mmitar@… added

+1

comment:4 Changed 12 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

Wontfix; We're going to deprecate reset/sqlreset because it's fundamentally broken. See #14268

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