Add a post_reset signal to "manage.py reset <app>"
|Reported by:||Owned by:||nobody|
|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|
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.
Change History (5)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|