favicon django
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
favicon django
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
how add a favicon to django
env > mysite > main > urls.pyfrom django.urls import pathfrom . import viewsfrom django.contrib.staticfiles.storage import staticfiles_storagefrom django.views.generic.base import RedirectViewurlpatterns = [ path('favicon.ico', RedirectView.as_view(url=staticfiles_storage.url('img/favicon.ico')))]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us