﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21280	Avoid generating empty migrations on serialization failures	Tim Graham	Tim Graham <timograham@…>	"If a model fails to serialize, an empty migration file will be generated which needs to be removed manually. You'll get an error like ""django.db.migrations.loader.BadMigrationError: Migration 0001_initial in app auth has no Migration class"" if you try to migrate without doing so.

We should either verify that there won't be any errors before creating the migration file or remove the empty file if there is an error."	Bug	closed	Migrations	dev	Normal	fixed			Accepted	0	0	0	0	0	0
