Ticket #172 (closed enhancement: fixed)
Send signals indicating change on model
|Reported by:||Robert <trebor74hr@…>||Owned by:||andrew|
It would be useful that south sends its own (new) signals indicating that migrate is done, and/or some change on model is done. I suggest at least 2 signals:
- south migration MM on application AA ended (after commit)
- south changed model MD by the migration MM in application AA (after commit)
For initializing creating new table maybe post-syncdb can be (re)used or maybe new one should be defined.
On production system every change to existing model (e.g. alter table, drop column, drop table) is very sensitive operation, and sometimes it needs some post processing. In order to automate this as much as possible, we could use some signals. Then the logic triggered by the signals will be common for all kind of migrations .
Other possible usage is that if someone switched from django.syncdb to south.migrate philosophy then all logic that is connected to processing post-syncdb signal should be rewritten to support south philosophy (see also http://south.aeracode.org/ticket/170#comment:1).