📜  migrations.rename_field django - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:35.320000             🧑  作者: Mango

代码示例1
class Migration(migrations.Migration):
    ...
  
    operations = [
        migrations.RenameField(
            model_name=...
            old_name=...
            new_name=...
        ),
    ]