Add subtitle to instruments
This commit is contained in:
parent
707909761e
commit
229ab6b0e6
|
|
@ -4,7 +4,7 @@ from wagtail.core.fields import StreamField
|
||||||
from wagtail.images.blocks import ImageChooserBlock
|
from wagtail.images.blocks import ImageChooserBlock
|
||||||
|
|
||||||
from books.blocks import LinkBlock, VideoBlock, DocumentBlock, SectionTitleBlock, InfogramBlock, \
|
from books.blocks import LinkBlock, VideoBlock, DocumentBlock, SectionTitleBlock, InfogramBlock, \
|
||||||
GeniallyBlock, InstrumentTextBlock
|
GeniallyBlock, InstrumentTextBlock, SubtitleBlock
|
||||||
from core.wagtail_utils import StrictHierarchyPage
|
from core.wagtail_utils import StrictHierarchyPage
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -20,6 +20,7 @@ class BasicKnowledge(StrictHierarchyPage):
|
||||||
('section_title', SectionTitleBlock()),
|
('section_title', SectionTitleBlock()),
|
||||||
('infogram_block', InfogramBlock()),
|
('infogram_block', InfogramBlock()),
|
||||||
('genially_block', GeniallyBlock()),
|
('genially_block', GeniallyBlock()),
|
||||||
|
('subtitle', SubtitleBlock()),
|
||||||
], null=True, blank=True)
|
], null=True, blank=True)
|
||||||
|
|
||||||
LANGUAGE_COMMUNICATION = 'language_communication'
|
LANGUAGE_COMMUNICATION = 'language_communication'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue