Skip to content

Commit

Permalink
Replace content_json with content as per https://docs.wagtail.org/en/…
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewCalderSpringload committed Oct 30, 2023
1 parent 5603bbf commit 3a9f69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def pre_page_revision_save(sender, instance, **kwargs):
# Replace content field
setattr(mirror_page, field.name, clean_field)
# To json again
instance.content_json = mirror_page.to_json()
instance.content = mirror_page.to_json()


@receiver(post_save)
Expand Down

0 comments on commit 3a9f69e

Please sign in to comment.