`makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`. Backport of 2e613ea5c5 from master