class Migration(migrations.Migration): ... operations = [ migrations.RenameField( model_name=... old_name=... new_name=... ), ]