# Django Admin History

**URL:** <https://forum.djangoproject.com/t/django-admin-history/7767>\
**Category:** Using Django\
**Created:** [May 2, 2021, 8:58pm UTC](https://forum.djangoproject.com/t/django-admin-history/7767 "2021-05-02T20:58:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumaiaor](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/sumaiaor/32/4407_2.png) [@sumaiaor](https://forum.djangoproject.com/u/sumaiaor)\
**Post date:** [May 2, 2021, 8:58pm UTC](https://forum.djangoproject.com/t/django-admin-history/7767/1 "2021-05-02T20:58:46Z")

</div>

Dears,

I am using Django Admin to create certain objects and be able to modify and monitor these objects. One thing I need is to display in **Django history** table is the following:

- Changed Column
- Old value of the changed column only
- New value of changed column only

I tried to override the **save\_model** function, but I couldn’t specify the old and new value of only the changed column, I was able to retrieve the whole object with the new value only.

Is there any way to do that ?

Thank you.

Best Regards,  
Sumaia

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 3, 2021, 3:01am UTC](https://forum.djangoproject.com/t/django-admin-history/7767/2 "2021-05-03T03:01:14Z")

</div>

If you review the source code for the LogEntry object, you’ll see there’s no provision in it for saving values of changed columns.

If you look at the ModelAdmin class, you’ll find methods `log_addition`, `log_change`, and `log_deletion`. You could write custom methods for your ModelAdmin class to write different logs. (Note, it appears that by the time you get to that point, you no longer have access to the original object. You’ll need to find some earlier point to save the changed fields - possibly in the `clean` method for the form.)
