Skip to content

Commit

Permalink
Update models with comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlipperPA committed Aug 1, 2023
1 parent b796b32 commit e2e4bf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class CodeStreamBlock(StreamBlock):


class CodeBlockPage(Page):
# body = StreamField(CodeStreamBlock(), blank=True, use_json_field=True)
"""
Test Page with a code block in body.
"""
body = StreamField([
('code', CodeBlock()),
], use_json_field=True)
Expand Down

0 comments on commit e2e4bf3

Please sign in to comment.