Add useful debug logging for evolutions.

Review Request #13093 — Created June 2, 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.

Commits

Files