Add a new evolutions argument for some signal emissions.

Review Request #11223 — Created Oct. 14, 2020 and submitted

Information

Django Evolution
master

Reviewers

The apply_evolutions and applied_evolutions signals now provide an
evolutions argument, which is a list of evolutions that will be/were
applied. This is currently equivalent to accessing
task.new_evolutions, but will be important for the upcoming work to
add dependency relations between migrationss and evolutions.

The evolve management command takes advantage of this new argument
when the verbosity is 2 or higher, listing the specific evolutions that
are part of the signal emission.

Unit tests passed.

Ran an evolution at each verbosity level (0, 1, 2, 3) and saw the
expected output for that level

Summary ID
Add a new evolutions argument for some signal emissions.
The `apply_evolutions` and `applied_evolutions` signals now provide an `evolutions` argument, which is a list of evolutions that will be/were applied. This is currently equivalent to accessing `task.new_evolutions`, but will be important for the upcoming work to add dependency relations between migrationss and evolutions. The `evolve` management command takes advantage of this new argument when the verbosity is 2 or higher, listing the specific evolutions that are part of the signal emission.
5e5a2e7d50bcd96fe0b6c26484a7ca84b938115a
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (a781026)
Loading...