In the templates/admindirectory, folder the index.html file and modify the following default file content.
The following is the index.html of Django admin.pdf:
{% Extends "admin/base_site.html" %}
{% Load i18n %}
{% Block extrastyle %} {block. super }}< link rel = "stylesheet" type = "text/css" href = "{% load adminmedia % }{% admin_media_prefix %} css/dashboard.css"/>{% endblock %} # used to write CSS Box
{% Block coltype %} colMS {% endblock %}
{% Block bodyclass %} dashboard {% endblock %}
{% Block breadcrumbs %} {% endblock %}
{% Block content %}
<Div id = "content-main">
{% If app_list %} # Show each modelAdmin {% if app_list and False %}. This part is not displayed and can be customized.
{% For app in app_list %}
<Div class = "module">
<Table summary = "{% blocktrans with app. name as name %} Models available in the {name} application. {% endblocktrans %}">
<Caption> <a href = "{app. app_url }}" class = "section"> {% blocktrans with app. name as name % }{{ name }}{% endblocktrans % }</a> </caption>
{% For model in app. models %}
<Tr>
{% If model. perms. change %}
<Th scope = "row"> <a href = "{model. admin_url }}" >{{ model. name }}</a> </th>
{% Else %}
<Th scope = "row" >{{ model. name }}</th>
{% Endif %}
{% If model. perms. add %}
<Td> <a href = "{model. admin_url} add/" class = "addlink"> {% trans 'add' %} </a> </td>
{% Else %}
<Td> & nbsp; </td>
{% Endif %}
{% If model. perms. change %}
<Td> <a href = "{model. admin_url}" class = "changelink" >{% trans 'change' %} </a> </td>
{% Else %}
<Td> & nbsp; </td>
{% Endif %}
</Tr>
{% Endfor %}
</Table>
</Div>
{% Endfor %}
{% Else %}
<P> {% trans "You don't have permission to edit anything." %} </p>
{% Endif %}
</Div>
{% Endblock %}
{% Block sidebar %} # operation, history operation,
<Div id = "content-related">
<Div class = "module" id = "recent-actions-module">
<H2 >{% trans 'cent Actions '%} <H3 >{% trans 'my Actions '%} {% Load log %}
{% Get_admin_log 10 as admin_log for_user user %}
{% If not admin_log %}
<P >{% trans 'None available' %} </p>
{% Else %}
<Ul class = "actionlist">
{% For entry in admin_log %}
<Li class = "{% if entry. is_addition %} addlink {% endif %} {% if entry. is_change %} changelink {% endif %} {% if entry. is_deletion %} deletelink {% endif %} ">
{% If entry. is_deletion %}
{Entry. object_repr }}
{% Else %}
<A href = "{entry. get_admin_url}" >{{ entry. object_repr }}</a>
{% Endif %}
<Br/>
{% If entry. content_type %}
<Span class = "mini quiet"> {% filter capfirst %} {% trans entry. content_type.name % }{% endfilter %} </span>
{% Else %}
<Span class = "mini quiet"> {% trans 'unknown content' %} </span>
{% Endif %}
</Li>
{% Endfor %}
</Ul>
{% Endif %}
</Div>
</Div>
{% Endblock %}