We can see the templates used by Django in the admin by looking inside the Django package in your virtual environment
.../site-packages/django/contrib/admin/templates/
The admin templates come in two directories:
- admin is for the model object pages.
- registration is for password changes and logging in and out.
Just below can be done to override
{% extends "admin/change_list.html" %}
{% load i18n admin_urls %}
{% block result_list %}
<footer style="color:blue;">
<p>The total review upto date: {{ total_review_upto_date}}<br>
</p>
<p>The total review to be updated: {{ total_review_tobe_updated}}<br></p>
<p>Total review to be added : {{ total_review_tobe_added }}</p>
</footer>
{% endblock %}
No comments:
Post a Comment