Add a project setting to disable automatic Django Evolution behavior.
Review Request #7585 — Created Aug. 13, 2015 and submitted — Latest diff uploaded
When projects begin migrating to Django migrations and away from Django
Evolution, we'll want to ensure that Django Evolution doesn't attempt to
make any further changes to the database.
settings.DJANGO_EVOLUTION_ENABLEDflag (defaulting to
now supported. When turned off, Django Evolution won't listen for syncdb
anymore, and the evolve command will exit with an error.
DJANGO_EVOLUTION_ENABLED = Falseand ran
syncdbdidn't try to invoke the Django Evolution logic, and
me an error saying that evolutions were disabled for the project.