I have added this tag to my head tag in html I can see the image when I have inspected the code but I can't get the icon displayed.
<link rel = "shortcut icon" type = "image" href = "{% static 'images/logo.png' %}">
I even tried
<link rel = "shortcut icon" type = "image/png" href = "{% static 'images/logo.png' %}">
and
<link rel = "shortcut icon" type = "image/x-icon" href = "{% static 'images/logo.png' %}">
but It's of no use
I have referred this link add logo meta to html my code goes as this
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel = "shortcut icon" type = "image" href = "{% static 'images/logo.png' %}">
</head>