Add support for project-defined custom evolutions.

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

Information

Django Evolution
master

Reviewers

This introduces a new Django setting (CUSTOM_EVOLUTIONS) for mapping
app names to custom evolutions modules, allowing a project to apply
mutations to apps that don't otherwise support evolutions. This allows
for situations like converting an app to use migrations when that app
was previously managed by Django Evolution but didn't itself use
evolutions.

Unit tests pass on Django 1.6 and 1.11.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add support for project-defined custom evolutions.
This introduces a new Django setting (`CUSTOM_EVOLUTIONS`) for mapping app names to custom evolutions modules, allowing a project to apply mutations to apps that don't otherwise support evolutions. This allows for situations like converting an app to use migrations when that app was previously managed by Django Evolution but didn't itself use evolutions.
3002d557c4fc25a4d033aeff67cec705ff8ed95a Christian Hammond
django_evolution/consts.py
django_evolution/tests/test_evolution_utils.py
django_evolution/tests/evolutions_app/evolutions/__init__.py
django_evolution/tests/evolutions_app/evolutions/first_evolution.py
django_evolution/utils/evolutions.py
tests/settings.py
Loading...