Django Add Favicon in base.html

Adi Ramadhan
1 min readAug 15, 2020

Add favicon from static folder to base.html in django

default and customized favicon

Preparation:
Step 1: Setup static folder.

Step 2: Setup base.html

Step 3. Add file icon *.ico in static/images
Example icon filename: book.ico

Step 4. Modify base.html (we use cdn bootstrap template)

<link rel="shortcut icon" href="{% static 'images/book.ico' %}">

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Adi Ramadhan
Adi Ramadhan

No responses yet

What are your thoughts?