On Mon, Feb 15, 2010 at 12:41 AM, monkut <[email protected]> wrote:
> Just curious, but I was looking at using the post-syncdb hook and
> found that it's actually called *before* the complete syncdb command
> finishes.  (Custom and indicies are run after the signal)
>
> http://docs.djangoproject.com/en/dev/ref/signals/#post-syncdb
>
> When I first used this my expectation was that the signal would be
> *after* the syncdb command finishes.
> It would be nice to have a 'real' post-syncdb signal.

The naming and timing of the post-syncdb signal is mostly a historical
artefact. The documentation for the post-syncdb signal could be
improved to highlight the exact ordering that takes place.

You're not the first to suggest a 'really post syncdb' signal, either.
"database done" was the last proposal I remember seeing. Personally,
I'm not morally opposed to such a signal, I'm just not particularly
motivated to work on it myself. The only use case I've seen is
deleting indexes that have been created automatically.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to