Skip to content

Commit

Permalink
Remove block_count check from blog and article models (#12726)
Browse files Browse the repository at this point in the history
  • Loading branch information
robdivincenzo committed Aug 20, 2024
1 parent 3e9600c commit f185c0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class BlogPage(BasePage):

body = StreamField(
base_fields,
block_counts={"typeform": {"max_num": 1}, "newsletter_signup": {"max_num": 1}},
block_counts={"newsletter_signup": {"max_num": 1}},
use_json_field=True,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class BuyersGuideArticlePage(BasePage):
("airtable", customblocks.AirTableBlock()),
("datawrapper", customblocks.DatawrapperBlock()),
),
block_counts={"typeform": {"max_num": 1}},
null=True,
blank=False,
use_json_field=True,
Expand Down

0 comments on commit f185c0f

Please sign in to comment.