Ticket #780 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

post_migrate signal not sent with verbosity 0 and nothing to migrate

Reported by: duncan@… Owned by: andrew
Priority: minor Milestone: 1.0
Component: commands Version: mercurial
Keywords: signal post_migrate verbosity Cc:


When running

python manage.py migrate -v 0

if there are no migrations to do, the post_migrate signal is not sent and initial_data is not loaded. With -v 1, both of these things happen, which is the right behaviour.

Change History

comment:1 Changed 4 years ago by duncan@…

I've sent a pull request with the change needed to fix this.



comment:2 Changed 4 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 1.0

Thanks; patch pulled.

Note: See TracTickets for help on using tickets.