Created
December 15, 2017 04:37
-
-
Save AndyLPK247/b6b1bef9bd88319689d1ac18cf25d4b7 to your computer and use it in GitHub Desktop.
Django child template example that inherits the favicon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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