Skip to content

Commit

Permalink
Merge pull request #75 from cfpb/feature/reference-index-ignore
Browse files Browse the repository at this point in the history
Exempt PageBlock from Wagtail's reference index
  • Loading branch information
chosak authored Jul 24, 2023
2 parents c331865 + 791b1fc commit 9227dcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wagtailinventory/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ class Meta:
),
]

wagtail_reference_index_ignore = True

def __str__(self):
return "<{}, {}>".format(self.page, self.block)

0 comments on commit 9227dcf

Please sign in to comment.