Skip to content

Instantly share code, notes, and snippets.

@AndyLPK247
Last active December 15, 2017 04:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyLPK247/c4e04b0f71eff35affbeb3e4ad401232 to your computer and use it in GitHub Desktop.
Save AndyLPK247/c4e04b0f71eff35affbeb3e4ad401232 to your computer and use it in GitHub Desktop.
Django admin/base_site.html template override for admin site favicon
<!-- The path and name for this file should be "templates/admin/base_site.html". -->
<!-- It overrides the original admin template and will be picked up by all of its children. -->
<!-- This template override has been verified for Django 1.11 and 2.0. -->
{% extends "admin/base_site.html" %}
{% load static %}
{% block extrahead %}
<link rel="shortcut icon" href="{% static 'images/favicon.ico' %}" />
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment