Add a post_reset signal to "manage.py reset <app>"
|Reported by:||gav@…||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)
Changed 7 years ago by gav@…
comment:1 Changed 7 years ago by mir
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed