Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Django child template example that inherits the favicon
<!-- This is an example of a Django child template. -->
<!-- It extends: https://gist.github.com/d7f20ccd5620f64d761ec546fd9eb37a -->
<!-- The parent template sets the favicon. -->
{% extends "django_example_parent.html" %}
{% block title %}My Page{% endblock %}
{% block content %}
<div>
...
</div>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment