質問

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