[Answered ]-Django CMS simple placeholders outside of cms

2👍

There’s three types of placeholders:

Page placeholders – Declared using {% placeholder %}. These can only be used inside a cms page.

Static placeholders – Declared using {% static_placeholder %}. Not bound to pages or objects.

App placeholder – Declared in your models.py using PlaceholderField and rendered in template using {% render_placeholder %}

The rule of thumb is, if you’re rendering a cms page, use a page placeholder, otherwise depending on your use-case use a static placeholder.

👤Paulo

Leave a comment