Update migration utils for improved filtering and recording.

Review Request #10578 — Created June 4, 2019 and submitted

Information

Django Evolution
master

Reviewers

filter_migration_targets is now able to exclude specific targets from
the list, which is useful for filtering out already-applied migrations.

record_applied_migrations can now record migrations for multiple apps
at a time. Previously, it took a specific app label and list of
migratino names, but now it takes a list of targets instead, making it
far more useful.

Unit tests pass on all supported versions of Django.

Summary ID
Update migration utils for improved filtering and recording.
`filter_migration_targets` is now able to exclude specific targets from the list, which is useful for filtering out already-applied migrations. `record_applied_migrations` can now record migrations for multiple apps at a time. Previously, it took a specific app label and list of migratino names, but now it takes a list of targets instead, making it far more useful.
0595bd60d9af8e7ef21a62c8bfa4853cb7e59322
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (8486f42)
Loading...