This feature allows you to reuse templates so you don’t have to waste time repeating steps. Basically, a template can build up on other templates by extending them with blocks. In the case of our project, the inheritance is as follows:
 

base.html (Defines the basic HTML document for your website, such as header, content and footer)

   ↖  content.html (Defines the entry point for your content)

 

In this scenario, content.html extends base.html. This keeps a CMS template (content.html) nice and tidy:

{% extends "base.html" %}
{% load cms_tags %}

{% block content %}    
    {% placeholder content or %}        
        <p>This page has no content yet. Make sure you are in
        <em>Edit</em> mode (hit the <strong>Edit page</strong>  
        button if required). Then switch to <em>Structure</em> mode.</p>
{% endplaceholder %}{% endblock content %}
Did this answer your question?