diff --git a/network-api/networkapi/mozfest/customblocks/stats_block.py b/network-api/networkapi/mozfest/customblocks/stats_block.py index 35810336eee..5aa73a23898 100644 --- a/network-api/networkapi/mozfest/customblocks/stats_block.py +++ b/network-api/networkapi/mozfest/customblocks/stats_block.py @@ -12,4 +12,4 @@ class MozfestStatisticsBlock(blocks.StructBlock): class Meta: icon = "placeholder" template = "fragments/blocks/mozfest_stats_block.html" - label = "Mozfest Stats Block" + label = "Stats Block" diff --git a/network-api/networkapi/mozfest/migrations/0031_adds_mozfest_stats_block.py b/network-api/networkapi/mozfest/migrations/0031_adds_mozfest_stats_block.py index 72dae06f88d..9f671b61f42 100644 --- a/network-api/networkapi/mozfest/migrations/0031_adds_mozfest_stats_block.py +++ b/network-api/networkapi/mozfest/migrations/0031_adds_mozfest_stats_block.py @@ -16,7 +16,7 @@ class Migration(migrations.Migration): dependencies = [ - ("mozfest", "0031_adds_mozfest_card_grid_block"), + ("mozfest", "0030_adds_new_banner_fields"), ] operations = [ diff --git a/network-api/networkapi/mozfest/models.py b/network-api/networkapi/mozfest/models.py index e00fda891c7..f537edeca6a 100644 --- a/network-api/networkapi/mozfest/models.py +++ b/network-api/networkapi/mozfest/models.py @@ -5,6 +5,7 @@ from wagtail.models import Locale, Page from wagtail_localize.fields import SynchronizedField, TranslatableField +from networkapi.mozfest import customblocks as mozfest_blocks from networkapi.wagtailpages.models import ( FoundationBannerInheritanceMixin, FoundationMetadataPageMixin, diff --git a/network-api/networkapi/utility/faker/streamfield_provider.py b/network-api/networkapi/utility/faker/streamfield_provider.py index 84c6a7e5b77..850ab65c01a 100644 --- a/network-api/networkapi/utility/faker/streamfield_provider.py +++ b/network-api/networkapi/utility/faker/streamfield_provider.py @@ -293,6 +293,7 @@ def generate_mozfest_stats_block_field(): return generate_field("mozfest_stats_block", {"statistics": statistics}) + def generate_pulse_listing_field(): return generate_field( "pulse_listing",