0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Ignore reference indexing for WorkflowState

This commit is contained in:
Sage Abdullah 2022-12-19 11:24:58 +00:00
parent c8463e8642
commit b03399a61a
No known key found for this signature in database
GPG Key ID: EB1A33CC51CC0217

View File

@ -3958,6 +3958,7 @@ class WorkflowState(models.Model):
content_object = GenericForeignKey(
"base_content_type", "object_id", for_concrete_model=False
)
content_object.wagtail_reference_index_ignore = True
workflow = models.ForeignKey(
"Workflow",