Modify ↓
Ticket #258 (closed defect: duplicate)
post_syncdb is not sent to handlers registered in migrated apps
| Reported by: | miracle2k | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | commands | Version: | 0.6 |
| Keywords: | Cc: |
Description
In my main application, using south migrations, I need to setup a handler for the post_syncdb signal; doing so in the management module, as the Django docs suggest to do, will cause the signal handler not to be picked up, because before South calls the original syncdb, it removes the app from the list.
Registering the handler in models.py works, since that is executed by south itself during loading; still, it took me a while to track this down.
Not sure what can be done about it; maybe south could send the signal itself?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

A duplicate of the (badly-named) #171.