문제

So let's say I have a content_type RichTextContent which is registered to Page.

Can I render attributes of the Page instance in the template of the RichTextContent content_type?

도움이 되었습니까?

해결책

Yes, all content instances have parent attribute, this refers to Page instance.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top