Complete the code to define a block named 'content' in a base template.
{% block [1] %}Default content{% endblock %}The block name must match the one you want to override. Here, 'content' is the block defined.
Complete the child template code to override the 'content' block.
{% extends 'base.html' %}
{% block [1] %}Overridden content{% endblock %}To override a block, use the exact block name defined in the base template, here 'content'.
Fix the error in the child template to properly override the 'title' block.
{% extends 'base.html' %}
{% block [1] %}My Page Title{% endblock %}The block to override for the page title is named 'title' in the base template.
Fill both blanks to define and override a block named 'sidebar' with default and new content.
Base template:
{% block [1] %}Default sidebar{% endblock %}
Child template:
{% extends 'base.html' %}
{% block [2] %}Custom sidebar content{% endblock %}The block name must be the same in both base and child templates to override correctly.
Fill all three blanks to create a base template with 'header' and 'footer' blocks and override only the 'footer' block in the child template.
Base template:
{% block [1] %}Site Header{% endblock %}
{% block [2] %}Site Footer{% endblock %}
Child template:
{% extends 'base.html' %}
{% block [3] %}Custom Footer{% endblock %}The base template defines 'header' and 'footer' blocks. The child overrides only the 'footer' block.