Wagtail pages¶
models¶
- class geniza.pages.models.AccordionBlock(*args, **kwargs)[source]¶
Accordion
StructBlock
for collapsible sections and/or FAQs
- class geniza.pages.models.BodyContentBlock(*args, **kwargs)[source]¶
Common set of content blocks for content pages.
- class geniza.pages.models.CaptionedImageBlock(*args, **kwargs)[source]¶
StructBlock
for an image with alternative text and optional formatted caption, so that both caption and alternative text can be context-specific.
- class geniza.pages.models.ContainerPage(*args, **kwargs)[source]¶
An empty
Page
type that hasContentPage
instances as its subpages.- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class geniza.pages.models.ContentPage(*args, **kwargs)[source]¶
A simple
Page
type for content pages.- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class geniza.pages.models.HomePage(*args, **kwargs)[source]¶
wagtail.core.models.Page
model for Geniza home page.- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class geniza.pages.models.SVGImageBlock(*args, **kwargs)[source]¶
StructBlock
for an SVG image with alternative text and optional formatted caption. Separate fromCaptionedImageBlock
because Wagtail image handling does not work with SVG.