I keep getting the following when i runserver…both on widows 10 and linux mint…
[19/Apr/2020 14:10:28] “GET / HTTP/1.1” 200 16351
[19/Apr/2020 14:10:28] “GET /static/admin/css/fonts.css HTTP/1.1” 200 423
[19/Apr/2020 14:10:28] “GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1” 200 86184
[19/Apr/2020 14:10:28] “GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1” 200 85692
Not Found: /favicon.ico
[19/Apr/2020 14:10:28] “GET /favicon.ico HTTP/1.1” 404 1975
[19/Apr/2020 14:10:28] “GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1” 200 85876
As i am new to all this, and the site seems to work…should i just ignore it ?
Many thanks,
steve(unionjak)
Steve,
This is ok. Django can’t find a favicon, so it tells you and moves on.
-Jorge
See https://en.m.wikipedia.org/wiki/Favicon
Browsers always request favicons for your site. If they don’t find a relevant <link>
, they request /favicon.ico
. If you want the experience for your site, you should add one. But it’s not a huge problem, as @jlgimeno says.
See https://learndjango.com/tutorials/django-favicon-tutorial for a favicon tutorial.
Thanks for replies …
I dont quite get this as the “site” is a newly made one…ie i have not changed anything its the standard django setup ?
steve
Django does not add a favicon by default when creating a new project. It’s not required, and as @adamchainz indicated, it’s not difficult to add one. That exercise is left to the developer to add if they see fit.
-Jorge