Search⌘ K
AI Features

Rebrand base.html

Explore how to rebrand the Django Admin interface by customizing the base.html template with the SB Admin layout. Understand how to manage static assets, migrate template code, and restore admin models and user info for a fully personalized admin page.

We'll cover the following...

Rebranding base.html

You are going to learn how to rebrand the base.html file and use the site layout of the template SB ADMIN.

First, you are going to deal with static assets such as CSS, javascript, etcetera. In your sample_app directory, you will create a static/admin folder.

mkdir sample_app/static
mkdir sample_app/static/admin

Next, you will copy all the directories from SB ADMIN of the downloaded templates in your new static/admin directory:

Then you will modify your settings.py to define ...