DEV Community

Cover image for How to improve the default django admin
Fabio Caccamo
Fabio Caccamo

Posted on

How to improve the default django admin

I work on a daily basis with python/django since 9 years now and I like it very much.

One of the best aspects of working with django is its admin, it is very simple to use (also for clients), but it lacks in customization.

Before giving backend access to the clients I always did some customization to the admin (like changing the logo and the main colors) to match the client identity.

It was boring and repetitive work, so I decided to write a library to do it.

The result is the django-admin-interface library and these are the main features:

  • Themes management and customization (title, logo and colors)
  • Related popup-windows replaced by modals
  • Environment name/marker
  • Language chooser

It is open-source on GitHub a lot of people use it:
https://github.com/fabiocaccamo/django-admin-interface

Alt Text

Top comments (2)

Collapse
 
sikander27 profile image
sikander khan

Hey,
I like your work but is there a way to use a custom dashboard like bootstrap with django admin features like adding a poll, question, etc and to make it asynchronous.
Please help me with this.

Collapse
 
fabiocaccamo profile image
Fabio Caccamo • Edited

Hi,
django-admin-interface purpose is to allow admin style customization with some cool features.

If you need to customize the dashboard, you should override the django dashboard template and add your own logic.

Once you created the dashboard, you can use the CSS variables exposed by django-admin-interface to style it according to the theme options.

Hope it will help.