Skip to content

Commit

Permalink
Migration content-types fix (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbmkin authored Jul 6, 2024
1 parent 6df2064 commit 1caa314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validity/migrations/0006_datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def setup_datasource_cf(apps, schema_editor):
required=False,
**{CF_OBJ_TYPE: ContentType.objects.get_for_model(DataSource)}
)
content_types(tenant_cf).set([ContentType.objects.get_for_model(Tenant)])
content_types(tenant_cf).set([ContentType.objects.get_for_model(Tenant).pk])


def delete_datasource_cf(apps, schema_editor):
Expand Down

0 comments on commit 1caa314

Please sign in to comment.