Created
June 4, 2025 07:34
-
-
Save gnovaro/53d46606c5160435225e7ad376a450c9 to your computer and use it in GitHub Desktop.
Django Admin Template extends, Add custom logo and favicon. Save the file in templates/admin/base_site.html
This file contains hidden or 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
{% extends "admin/base.html" %} | |
{% load static %} | |
{% block branding %} | |
<img src="{% static 'img/lowellbooks_logo_horizontal.webp' %}" alt="logo"> | |
{{ block.super }} | |
{% endblock %} | |
{% block extrahead %} | |
<link rel="shortcut icon" href="{% static 'img/favicon/book.png' %}" /> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment