diff --git a/filmovy-festival/home/models.py b/filmovy-festival/home/models.py index ffe7352..d7ae172 100644 --- a/filmovy-festival/home/models.py +++ b/filmovy-festival/home/models.py @@ -10,13 +10,11 @@ from wagtail.admin.edit_handlers import FieldPanel, InlinePanel class HomePage(Page): body = RichTextField(blank=True) - address = RichTextField(blank=True) image = models.ForeignKey( 'wagtailimages.Image', on_delete=models.PROTECT, related_name='+' ) content_panels = Page.content_panels + [ FieldPanel('body', classname="full"), - FieldPanel('address', classname="full"), ImageChooserPanel('image'), ]