How to create custom template in django admin.

First of all, I am curious to know if it is possible to create something similar to a Products or Sales Overview in DJANGO ADMIN.

Below is a sample picture

If so, I’m guessing I’d have to start overwriting the default template, etc., but how do I go about this?

Any help would be greatly appreciated.

You might be able to do something like that, but that’s not really the purpose of the admin to provide those types of facilities. In general terms, you’d want to create your own views and templates for that.

See the first two paragraphs in the docs at The Django admin site | Django documentation | Django

Thanks for your response.

So that means I have to create a totally separate view and template to calculate and display the overview; and is there not a way to can add the custom template in the Django admin. Instead of the superuser visiting another page to view the shop’s overview, can’t it still be in the same admin interface?

You’d be doing that anyway, because the Django admin doesn’t provide views and templates for that.

Either way, you’re still going to be defining URLs and creating links to pages.

You’re not saving any effort by trying to integrate this into the admin.