Add block in admin right index.html

Hello Django Team,
How can we use the area marked in red to display statistics or graphs? Thanks.

You could override the template to customise it. See The Django admin site | Django documentation | Django

1 Like

Then (I believe) they would still need to either replace the base view to populate the context for that page, or add an implementation of the AdminSite.each_context method to add to the context of every page on the site, or create a custom tag that creates the html for that block.

1 Like

Hello, I have a comment transferring the information to the page index.html, but my problem is that I don’t want to enter another block in the right.

You will need to share some (properly formatted) code for someone to be able to help you, and describe more clearly exactly what it is you want to achieve.