class BrowseFilterableContent(StreamBlock): """Defines the StreamField blocks for BrowseFilterablePage content. Pages can have at most one filterable list. """ full_width_text = organisms.FullWidthText() filter_controls = organisms.FilterableList() feedback = v1_blocks.Feedback() class Meta: block_counts = { 'filter_controls': {'max_num': 1}, }
class SublandingFilterableContent(StreamBlock): """Defines the StreamField blocks for SublandingFilterablePage content. Pages can have at most one filterable list. """ text_introduction = molecules.TextIntroduction() full_width_text = organisms.FullWidthText() filter_controls = organisms.FilterableList() featured_content = organisms.FeaturedContent() feedback = v1_blocks.Feedback() class Meta: block_counts = { 'filter_controls': { 'max_num': 1 }, }