Working with templates
Plain cannot be used in templates used by external applications, use static_placeholder
instead.
New in version 3.0.
This is mostly useful to use it in the extends
template tag in the application templates to get the current page template.
Example: cms template
{% load cms_tags %}
{% block main %}
{% for item in object_list %}
{% static_placeholder "sidebar" %}
{% endblock main %}
CMS_TEMPLATE
memorises the path of the cms template so the application template can dynamically import it.
New in version 3.0.