Modify

Ticket #780 (closed defect: fixed)

Opened 3 years ago

Last modified 3 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:

Description

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.

Attachments

Change History

comment:1 Changed 3 years ago by duncan@…

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

Cheers,

Duncan

comment:2 Changed 3 years ago by andrew

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

Thanks; patch pulled.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.