There's post_syncdb
signal to perform actions that can be done after syncdb. Is there a similar hook to perform some actions after loading fixtures i.e. after python manage.py loaddata
command ?
I have a script that creates a new database, runs migrate (syncdb) and loads data from JSON fixtures. Post all this, I want to create groups & permissions for users that have been created. Where do I plug that code?
P.S. Use post_migrate
instead of post_syncdb
for 1.7+