mirror of https://github.com/jumpserver/jumpserver
fix: 修复 Migrations 错误
parent
c41fc54380
commit
624f32bc6c
|
@ -14,7 +14,6 @@ def create_internal_platform(apps, schema_editor):
|
||||||
model.objects.using(db_alias).update_or_create(
|
model.objects.using(db_alias).update_or_create(
|
||||||
name=name, defaults=defaults
|
name=name, defaults=defaults
|
||||||
)
|
)
|
||||||
migrations.RunPython(create_internal_platform)
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
Loading…
Reference in New Issue