Add subpage types to chapter
This commit is contained in:
parent
4650fecfc7
commit
c4ba21aedd
|
|
@ -28,6 +28,8 @@ class Chapter(Page):
|
|||
template = 'generic_page.html'
|
||||
|
||||
parent_page_types = ['book.Module']
|
||||
subpage_types = ['book.ContentBlock']
|
||||
|
||||
|
||||
@classmethod
|
||||
def get_module_chapters(cls, module):
|
||||
|
|
|
|||
Loading…
Reference in New Issue