Add utility functions for working with Django Migrations.

Review Request #10558 — Created May 21, 2019 and submitted — Latest diff uploaded

Information

Django Evolution
master

Reviewers

This introduces some utility functions that help with several steps in
the Django migrations process. These include functions for retrieving
all applied migrations organized by app label, recording batches of
applied migrations, filtering migration targets by app labels, and
actually applying migrations.

These will be used by an upcoming change that coordinates the evolution
and migration processes in the evolver.

Unit tests pass for Django 1.6 and 1.11.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add utility functions for working with Django Migrations.
This introduces some utility functions that help with several steps in the Django migrations process. These include functions for retrieving all applied migrations organized by app label, recording batches of applied migrations, filtering migration targets by app labels, and actually applying migrations. These will be used by an upcoming change that coordinates the evolution and migration processes in the evolver.
0504152bd166e86ce6a931a00b3ad1063f1767b9 Christian Hammond
django_evolution/tests/test_migration_utils.py
django_evolution/utils/evolutions.py
django_evolution/utils/migrations.py
Loading...