Opened 17 years ago

Closed 14 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@… 17 years ago.
Patch that provides post_reset signal against r5788.

Download all attachments as: .zip

Change History (5)

by gav@…, 17 years ago

Attachment: post_reset_signal.patch added

Patch that provides post_reset signal against r5788.

comment:1 by Michael Radziej, 17 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by Tobias McNulty, 15 years ago

Would love to see this implemented

comment:3 by Mitar, 14 years ago

Cc: mmitar@… added

+1

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

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