perf: 优化一下 win2016 不再内置

pull/7195/head^2
ibuler 3 years ago committed by Jiangjie.Bai
parent 454d3cba96
commit a315e8888b

@ -16,6 +16,11 @@ def create_internal_platform(apps, schema_editor):
name=name, defaults=defaults
)
win2016 = model.objects.filter(name='Windows2016').first()
if win2016:
win2016.internal = False
win2016.save(update_fields=['internal'])
class Migration(migrations.Migration):

Loading…
Cancel
Save