Created
February 9, 2018 19:39
-
-
Save AndyLPK247/a24c879a8ba0110b3689ad8b6d6b7637 to your computer and use it in GitHub Desktop.
Django rest_framework/api.html template override for Django REST Framework browsable API 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
<!-- The path and name for this file should be "templates/rest_framework/api.html". --> | |
<!-- It overrides the original browsable API template and will be picked up by all of its children. --> | |
<!-- This template override has been verified for Django 2.0. --> | |
{% extends "rest_framework/base.html" %} | |
{% load static %} | |
{% block style %} | |
{{ block.super }} | |
<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