Add useful debug logging for evolutions.

Review Request #13093 — Created June 1, 2023 and submitted — Latest diff uploaded

Information

Django Evolution
release-2.x

Reviewers

This introduces some standardized debug logging for evolutions, which
provides information that can be helpful when debugging evolution
failures.

This is on the debug level, so people won't see it by default.

There's also a fix for serializing information on callable values, which
avoids a crash during debug logging.

Performed some evolutions, and inspected the output as part of a database
evolution diagnosis.

Unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add useful debug logging for evolutions.
This introduces some standardized debug logging for evolutions, which provides information that can be helpful when debugging evolution failures. This is on the debug level, so people won't see it by default. There's also a fix for serializing information on callable values, which avoids a crash during debug logging.
b7d5db982edc38544169162d1ddbfd79e108bd31 Christian Hammond
django_evolution/serialization.py
django_evolution/evolve/evolve_app_task.py
django_evolution/mutators/model_mutator.py
Loading...