third time = the charm

This commit is contained in:
Ethan Roseman
2022-02-21 02:52:13 +09:00
parent 6d1d2369ef
commit 93792f30a9
@@ -12,7 +12,7 @@ def assign_forks_to_projects(apps, schema_editor):
for row in Scratch.objects.all():
if row.parent and row.parent.project_function:
row.project_function = row.parent.project_function
row.save(update_fields["project_function"]) # type: ignore
row.save(update_fields=["project_function"]) # type: ignore
class Migration(migrations.Migration):