Use proper field for image
This commit is contained in:
parent
849d539478
commit
3a1fa6d724
1 changed files with 6 additions and 1 deletions
|
@ -40,7 +40,12 @@ class ArticleIndexPage(Page):
|
|||
'title_en',
|
||||
)
|
||||
|
||||
header_image = ImageChooserBlock(required=False)
|
||||
header_image = models.ForeignKey(
|
||||
'wagtailimages.Image',
|
||||
null=True, blank=True,
|
||||
on_delete=models.SET_NULL,
|
||||
related_name='+'
|
||||
)
|
||||
|
||||
intro_de = RichTextField(default='', blank=True)
|
||||
intro_fr = RichTextField(default='', blank=True)
|
||||
|
|
Loading…
Reference in a new issue