0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 17:13:31 +01:00

Remove remaining occurrence of use_json_field

This commit is contained in:
Matt Westcott 2023-11-02 17:05:41 +00:00
parent 5f41356dbe
commit f71ecd9a75

View File

@ -584,7 +584,7 @@ body = StreamField([
('normal_text', blocks.RichTextBlock()),
('pull_quote', blocks.RichTextBlock(search_index=False)),
('footnotes', blocks.ListBlock(blocks.CharBlock(), search_index=False)),
], use_json_field=True)
])
```
## Custom validation