Import management modules before emitting any signals.

Review Request #10599 — Created June 18, 2019 and submitted

Information

Django Evolution
master

Reviewers

Evolver now imports management modules for any apps before any
signals are emitted. This gives apps a chance to perform any operations
needed during the syncdb/migration/evolution process, such as
registering entries in the database. Normally, the syncdb and
migrate commands will do this automatically, and we're guaranteeing
that it'll happen even if evolving programmatically through the
Evolver.

Unit tests pass.

Tested against Review Board. Saw that our management modules were able
to connect to signals and respond to them.

Summary ID
Import management modules before emitting any signals.
`Evolver` now imports management modules for any apps before any signals are emitted. This gives apps a chance to perform any operations needed during the syncdb/migration/evolution process, such as registering entries in the database. Normally, the `syncdb` and `migrate` commands will do this automatically, and we're guaranteeing that it'll happen even if evolving programmatically through the `Evolver`.
525f817926b8f6429df12fceebc08fa355c51d05
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (73a1f2e)