{"editorial_visual":"https://favicon.now/static/images/editorial/guides/django-favicon.webp","implementation_artifact":{"code":"{% load static %}\n<link rel=\"icon\" href=\"{% static 'icons/favicon.svg' %}\" type=\"image/svg+xml\">\n<link rel=\"icon\" href=\"{% static 'icons/favicon.ico' %}\">","heading":"Django staticfiles template mapping","intro":"The static tag follows the active storage backend and any fingerprinted name created by collectstatic. A root ICO needs a separate server alias or narrow response when required.","language":"django","tree":"project/\n\u251c\u2500\u2500 static/icons/favicon.svg\n\u251c\u2500\u2500 static/icons/favicon.ico\n\u2514\u2500\u2500 templates/base.html"},"published":"2026-07-31","section_headings":["Project paths and constraints","Declare favicon metadata once","Build, deploy, and verify","Validate collectstatic, storage mapping, and proxy delivery","Django static storage and root compatibility"],"sources":[{"label":"Django static files guide","url":"https://docs.djangoproject.com/en/5.2/howto/static-files/"},{"label":"Django staticfiles reference","url":"https://docs.djangoproject.com/en/5.2/ref/contrib/staticfiles/"}],"title":"Django Favicon Guide: Static Files, Routes & HTML","updated":"2026-07-31","url":"https://favicon.now/guides/django-favicon"}
