diff --git a/opentech/public/funds/migrations/0002_labindex_labpage.py b/opentech/public/funds/migrations/0002_labindex_labpage.py index ab9f9c903f5c6a9ffc2917fc9ee12c53879cea74..42af1ca714f3603957dcde5873c8592ad790e537 100644 --- a/opentech/public/funds/migrations/0002_labindex_labpage.py +++ b/opentech/public/funds/migrations/0002_labindex_labpage.py @@ -48,7 +48,7 @@ class Migration(migrations.Migration): ('listing_summary', models.CharField(blank=True, help_text="The text summary used when this page appears in listings. It's also used as the description for search engines if the 'Search description' field above is not defined.", max_length=255)), ('introduction', models.TextField(blank=True)), ('lab_link', models.URLField(blank=True, verbose_name='External link')), - ('link_text', models.CharField(help_text='text to display on the button', max_length=255)), + ('link_text', models.CharField(help_text='Text to display on the button', max_length=255)), ('body', wagtail.wagtailcore.fields.StreamField((('heading', wagtail.wagtailcore.blocks.CharBlock(classname='full title', icon='title')), ('paragraph', wagtail.wagtailcore.blocks.RichTextBlock()), ('image', wagtail.wagtailcore.blocks.StructBlock((('image', wagtail.wagtailimages.blocks.ImageChooserBlock()), ('caption', wagtail.wagtailcore.blocks.CharBlock(required=False))))), ('quote', wagtail.wagtailcore.blocks.StructBlock((('quote', wagtail.wagtailcore.blocks.CharBlock(classname='title')), ('attribution', wagtail.wagtailcore.blocks.CharBlock(required=False)), ('job_title', wagtail.wagtailcore.blocks.CharBlock(required=False))))), ('embed', wagtail.wagtailembeds.blocks.EmbedBlock()), ('call_to_action', wagtail.wagtailsnippets.blocks.SnippetChooserBlock('utils.CallToActionSnippet', template='blocks/call_to_action_block.html')), ('document', wagtail.wagtailcore.blocks.StructBlock((('document', wagtail.wagtaildocs.blocks.DocumentChooserBlock()), ('title', wagtail.wagtailcore.blocks.CharBlock(required=False))))), ('project_list', opentech.public.funds.blocks.ProjectsBlock()), ('reviewer_list', opentech.public.funds.blocks.ReviewersBlock())))), ('header_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='images.CustomImage')), ('lab_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.Page')), diff --git a/opentech/public/funds/models.py b/opentech/public/funds/models.py index 8e01ca1489015bfee16681a4e65357ba6f2b9a9e..c027610f3196d27416c2158d6ce8407c4bc37fd1 100644 --- a/opentech/public/funds/models.py +++ b/opentech/public/funds/models.py @@ -89,7 +89,7 @@ class LabPage(BasePage): related_name='+', ) lab_link = models.URLField(blank=True, verbose_name='External link') - link_text = models.CharField(max_length=255, help_text='text to display on the button') + link_text = models.CharField(max_length=255, help_text='Text to display on the button') body = StreamField(FundBlock()) content_panels = BasePage.content_panels + [