fix: 修复 Migrations 错误

pull/8295/head
ibuler 2022-05-24 10:18:20 +08:00 committed by 老广
parent c41fc54380
commit 624f32bc6c
1 changed files with 0 additions and 1 deletions

View File

@ -14,7 +14,6 @@ def create_internal_platform(apps, schema_editor):
model.objects.using(db_alias).update_or_create(
name=name, defaults=defaults
)
migrations.RunPython(create_internal_platform)
class Migration(migrations.Migration):