Вопрос

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